summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSherry Sun <sherry.sun@nxp.com>2025-03-12 10:39:03 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-20 08:07:21 -0700
commit3cc16ae096f164ae0c6b98416c25a01db5f3a529 (patch)
treea4be52cd4e706ef922f8f810416107556fea62f3 /tools/perf/scripts/python
parentb6a8f6ab2c53e5ea3c7f2a3978db378a89bb7595 (diff)
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions