serial: 8250_ni: Reorder local variables
Reorder local variables in ni16550_probe to follow reverse Christmas tree style. Cc: Jason Smith <jason.smith@emerson.com> Cc: Gratian Crisan <gratian.crisan@emerson.com> Signed-off-by: Chaitanya Vadrevu <chaitanya.vadrevu@emerson.com> Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20250711200418.1858682-3-chaitanya.vadrevu@emerson.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
515c8e2245
commit
a48e897b69
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user