Author: blogic
Date: 2016-01-03 19:02:51 +0100 (Sun, 03 Jan 2016)
New Revision: 48094

Modified:
   
branches/chaos_calmer/target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3052.c
Log:
ramips: Fix whitespace in the rt3052 switch driver.

Signed-off-by: Vittorio Gambaletta <[email protected]>

Modified: 
branches/chaos_calmer/target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3052.c
===================================================================
--- 
branches/chaos_calmer/target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3052.c
    2016-01-03 15:12:07 UTC (rev 48093)
+++ 
branches/chaos_calmer/target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3052.c
    2016-01-03 18:02:51 UTC (rev 48094)
@@ -1417,19 +1417,19 @@
        }
 
        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;
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to