aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-01-03 18:02:51 +0000
committerJohn Crispin <blogic@openwrt.org>2016-01-03 18:02:51 +0000
commit4a1948fe91941cead0fd10c3832ace732ea8bb39 (patch)
treebe9fdd325ad98d4b1b9390ac57965a335b098207
parent841bc905282feea1acae969e5b4ee9de9fd34402 (diff)
downloadupstream-4a1948fe91941cead0fd10c3832ace732ea8bb39.tar.gz
upstream-4a1948fe91941cead0fd10c3832ace732ea8bb39.tar.bz2
upstream-4a1948fe91941cead0fd10c3832ace732ea8bb39.zip
ramips: Fix whitespace in the rt3052 switch driver.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48094 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3052.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3052.c b/target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3052.c
index 55d5729f43..4b12e281e7 100644
--- a/target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3052.c
+++ b/target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3052.c
@@ -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;