diff options
| author | Sherry Sun <sherry.sun@nxp.com> | 2025-03-12 10:39:03 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-20 08:07:21 -0700 |
| commit | 3cc16ae096f164ae0c6b98416c25a01db5f3a529 (patch) | |
| tree | a4be52cd4e706ef922f8f810416107556fea62f3 /rust/helpers/build_bug.c | |
| parent | tty: serial: fsl_lpuart: Use u32 and u8 for register variables (diff) | |
| download | linux-3cc16ae096f164ae0c6b98416c25a01db5f3a529.tar.gz linux-3cc16ae096f164ae0c6b98416c25a01db5f3a529.zip | |
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>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions
