[OpenWrt-Devel] [PATCH 3/3] ath79: ag71xx: Fix code formatting in ag71xx_probe

Petr Štetiar ynezz at true.cz
Mon Dec 10 17:34:17 EST 2018


Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 .../ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c b/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
index 6d671c9..70ca024 100644
--- a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
+++ b/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
@@ -1516,9 +1516,9 @@ static int ag71xx_probe(struct platform_device *pdev)
 
 	ag71xx_dump_regs(ag);
 
-	if(!of_device_is_compatible(np, "simple-mfd")) {
+	if (!of_device_is_compatible(np, "simple-mfd")) {
 		mdio_node = of_get_child_by_name(np, "mdio-bus");
-		if(!IS_ERR(mdio_node))
+		if (!IS_ERR(mdio_node))
 			of_platform_device_create(mdio_node, NULL, NULL);
 	}
 
-- 
1.9.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list