Skip to content

Commit a48e897

Browse files
chaitu236gregkh
authored andcommitted
serial: 8250_ni: Reorder local variables
Reorder local variables in ni16550_probe to follow reverse Christmas tree style. Cc: Jason Smith <[email protected]> Cc: Gratian Crisan <[email protected]> Signed-off-by: Chaitanya Vadrevu <[email protected]> Reviewed-by: Jiri Slaby <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 515c8e2 commit a48e897

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/tty/serial/8250/8250_ni.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,12 +275,12 @@ static void ni16550_set_mctrl(struct uart_port *port, unsigned int mctrl)
275275

276276
static int ni16550_probe(struct platform_device *pdev)
277277
{
278+
struct uart_8250_port *uart __free(kfree) = NULL;
278279
const struct ni16550_device_info *info;
279280
struct device *dev = &pdev->dev;
280-
struct uart_8250_port *uart __free(kfree) = NULL;
281281
unsigned int txfifosz, rxfifosz;
282-
unsigned int prescaler;
283282
struct ni16550_data *data;
283+
unsigned int prescaler;
284284
const char *portmode;
285285
bool rs232_property;
286286
int ret;

0 commit comments

Comments
 (0)