ramips: Fix whitespace in the rt3052 switch driver.
authorJohn Crispin <john@openwrt.org>
Sun, 3 Jan 2016 18:02:51 +0000 (18:02 +0000)
committerJohn Crispin <john@openwrt.org>
Sun, 3 Jan 2016 18:02:51 +0000 (18:02 +0000)
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 48094

target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3052.c

index 55d5729f4345192633728be46dcf9ed0bc40b508..4b12e281e7e40c329d85e245f8d3857b5e03a512 100644 (file)
@@ -1417,19 +1417,19 @@ static int esw_probe(struct platform_device *pdev)
        }
 
        port_map = of_get_property(np, "ralink,portmap", NULL);
-        if (port_map)
+       if (port_map)
                esw->port_map = be32_to_cpu(*port_map);
 
        reg_init = of_get_property(np, "ralink,fct2", NULL);
-        if (reg_init)
+       if (reg_init)
                esw->reg_initval_fct2 = be32_to_cpu(*reg_init);
 
        reg_init = of_get_property(np, "ralink,fpa2", NULL);
-        if (reg_init)
+       if (reg_init)
                esw->reg_initval_fpa2 = be32_to_cpu(*reg_init);
 
        reg_init = of_get_property(np, "ralink,led_polarity", NULL);
-        if (reg_init)
+       if (reg_init)
                esw->reg_led_polarity = be32_to_cpu(*reg_init);
 
        swdev = &esw->swdev;