ath79: ag71xx: Fix code formatting in ag71xx_probe
Signed-off-by: Petr Štetiar <ynezz@true.cz>
This commit is contained in:
parent
a29df78c9f
commit
7bd2595b67
@ -1516,9 +1516,9 @@ static int ag71xx_probe(struct platform_device *pdev)
|
|||||||
|
|
||||||
ag71xx_dump_regs(ag);
|
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");
|
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);
|
of_platform_device_create(mdio_node, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user