diff options
author | Florian Fainelli <[email protected]> | 2018-05-15 16:56:19 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-05-16 14:20:36 -0400 |
commit | 00e798c7d1ea5c4514401f17db8300db934291cb (patch) | |
tree | 831558f37e80e04ed2caf7cb7fc36bd397b52cdb /tools/perf/scripts/python/netdev-times.py | |
parent | 6d07a68a59274fa168a3ddfbcfe5df029ba0afed (diff) |
drivers: net: Remove device_node checks with of_mdiobus_register()
A number of drivers have the following pattern:
if (np)
of_mdiobus_register()
else
mdiobus_register()
which the implementation of of_mdiobus_register() now takes care of.
Remove that pattern in drivers that strictly adhere to it.
Signed-off-by: Florian Fainelli <[email protected]>
Reviewed-by: Grygorii Strashko <[email protected]>
Reviewed-by: Fugang Duan <[email protected]>
Reviewed-by: Antoine Tenart <[email protected]>
Reviewed-by: Jose Abreu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions