diff options
author | Petr Štetiar <ynezz@true.cz> | 2018-12-10 23:34:17 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-12-17 08:04:19 +0100 |
commit | 7bd2595b6761a52cb69b58b9be1a84d25cbe66e3 (patch) | |
tree | 5c326697bbafb44ecd3b9a2b4a78de0cde7c6075 /target/linux | |
parent | a29df78c9f10749f56e43196dd1f2509e9501edf (diff) | |
download | upstream-7bd2595b6761a52cb69b58b9be1a84d25cbe66e3.tar.gz upstream-7bd2595b6761a52cb69b58b9be1a84d25cbe66e3.tar.bz2 upstream-7bd2595b6761a52cb69b58b9be1a84d25cbe66e3.zip |
ath79: ag71xx: Fix code formatting in ag71xx_probe
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c | 4 |
1 files 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 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); } |