From a48e897b6999eec1da6dc37e9af834dd2a88a0bb Mon Sep 17 00:00:00 2001 From: Chaitanya Vadrevu Date: Fri, 11 Jul 2025 15:04:18 -0500 Subject: [PATCH] serial: 8250_ni: Reorder local variables Reorder local variables in ni16550_probe to follow reverse Christmas tree style. Cc: Jason Smith Cc: Gratian Crisan Signed-off-by: Chaitanya Vadrevu Reviewed-by: Jiri Slaby Link: https://lore.kernel.org/r/20250711200418.1858682-3-chaitanya.vadrevu@emerson.com Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/8250/8250_ni.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/8250/8250_ni.c b/drivers/tty/serial/8250/8250_ni.c index 81f2255012153..cb5b42b3609c9 100644 --- a/drivers/tty/serial/8250/8250_ni.c +++ b/drivers/tty/serial/8250/8250_ni.c @@ -275,12 +275,12 @@ static void ni16550_set_mctrl(struct uart_port *port, unsigned int mctrl) static int ni16550_probe(struct platform_device *pdev) { + struct uart_8250_port *uart __free(kfree) = NULL; const struct ni16550_device_info *info; struct device *dev = &pdev->dev; - struct uart_8250_port *uart __free(kfree) = NULL; unsigned int txfifosz, rxfifosz; - unsigned int prescaler; struct ni16550_data *data; + unsigned int prescaler; const char *portmode; bool rs232_property; int ret; -- 2.51.0