summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2024-05-28 11:40:21 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-04 14:01:24 +0200
commit3093f180bc6e3b5442391e6d58a3cb08d88c9769 (patch)
tree10dd5663f8f0f2b92412b039b5183e21ca6de06b /tools/perf/scripts/python/exported-sql-viewer.py
parent80c4d3d4890563632d7bcc8d048dbd4e1c519f17 (diff)
serial: imx: stop casting struct uart_port to struct imx_port
struct imx_port does have a struct uart_port as its first member, so the current code works, but it is not how kernel code is usually written. Similar to many other serial drivers, introduce and use a to_imx_port() helper based on container_of(). No functional change. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Reviewed-by: Fabio Estevam <festevam@gmail.com> Link: https://lore.kernel.org/r/20240528094022.2161066-1-linux@rasmusvillemoes.dk Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions