tty: serial: omap: cleanup variable declarations
authorFelipe Balbi <balbi@ti.com>
Wed, 23 Apr 2014 14:58:31 +0000 (09:58 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Apr 2014 23:16:33 +0000 (16:16 -0700)
cleanup only, no functional changes.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/omap-serial.c

index 07d4273e35a1230c11707203ffb3cfd8be71aab5..38137403029346073e09214120d17d40f03685ce 100644 (file)
@@ -1641,10 +1641,13 @@ static int serial_omap_probe_rs485(struct uart_omap_port *up,
 
 static int serial_omap_probe(struct platform_device *pdev)
 {
-       struct uart_omap_port   *up;
-       struct resource         *mem, *irq;
        struct omap_uart_port_info *omap_up_info = dev_get_platdata(&pdev->dev);
-       int ret, uartirq = 0, wakeirq = 0;
+       struct uart_omap_port *up;
+       struct resource *mem;
+       struct resource *irq;
+       int uartirq = 0;
+       int wakeirq = 0;
+       int ret;
 
        /* The optional wakeirq may be specified in the board dts file */
        if (pdev->dev.of_node) {