kernel_optimize_test/drivers/of
Florian Fainelli 6d07a68a59 of: mdio: Fall back to mdiobus_register() with NULL device_node
When the device_node specified is NULL, fall back to mdiobus_register().
We have a number of drivers having a similar pattern which is:

if (np)
	of_mdiobus_register()
else
	mdiobus_register()

so incorporate that behavior within the core of_mdiobus_register()
function. This is also consistent with the stub version that we defined
when CONFIG_OF=n.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-05-16 14:20:35 -04:00
..
unittest-data
address.c
base.c
device.c
dynamic.c
fdt_address.c
fdt.c
irq.c
Kconfig
kobj.c
Makefile
of_mdio.c of: mdio: Fall back to mdiobus_register() with NULL device_node 2018-05-16 14:20:35 -04:00
of_net.c
of_numa.c
of_private.h
of_reserved_mem.c
overlay.c of: overlay: Stop leaking resources on overlay removal 2018-04-26 21:18:13 -05:00
pdt.c
platform.c
property.c
resolver.c
unittest.c