From: Petr Štetiar Date: Mon, 10 Dec 2018 22:34:17 +0000 (+0100) Subject: ath79: ag71xx: Fix code formatting in ag71xx_probe X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=7bd2595b6761a52cb69b58b9be1a84d25cbe66e3;p=openwrt%2Fstaging%2Fzorun.git ath79: ag71xx: Fix code formatting in ag71xx_probe Signed-off-by: Petr Štetiar --- 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 6d671c93e9..70ca0248c3 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); }