Skip to content

Commit 3cc16ae

Browse files
SherrySun5gregkh
authored andcommitted
tty: serial: fsl_lpuart: use port struct directly to simply code
Most lpuart functions have the parameter struct uart_port *port, but still use the &sport->port to get the uart_port instead of use it directly, let's simply the code logic, directly use this struct instead of covert it from struct sport. Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Link: https://lore.kernel.org/r/20250312023904.1343351-3-sherry.sun@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent b6a8f6a commit 3cc16ae

File tree

1 file changed

+102
-108
lines changed

1 file changed

+102
-108
lines changed

0 commit comments

Comments
 (0)