aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.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 /scripts/generate_rust_analyzer.py
parentvt: keyboard: Use led_set_brightness() in LED trigger activate() callback (diff)
downloadlinux-rng-3093f180bc6e3b5442391e6d58a3cb08d88c9769.tar.xz
linux-rng-3093f180bc6e3b5442391e6d58a3cb08d88c9769.zip
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions