]> asedeno.scripts.mit.edu Git - linux.git/commit
Merge branch 'of-mdio-Fall-back-to-mdiobus_register-with-NULL-device_node'
authorDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2018 18:20:36 +0000 (14:20 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2018 18:20:36 +0000 (14:20 -0400)
commitb0ec758510c0bafd2ea17edf01aa76ab87e29900
tree831558f37e80e04ed2caf7cb7fc36bd397b52cdb
parentc6213eb1aee308e67377fd1890d84f7284caf531
parent00e798c7d1ea5c4514401f17db8300db934291cb
Merge branch 'of-mdio-Fall-back-to-mdiobus_register-with-NULL-device_node'

Florian Fainelli says:

====================
of: mdio: Fall back to mdiobus_register() with NULL device_node

This patch series updates of_mdiobus_register() such that when the device_node
argument is NULL, it calls mdiobus_register() directly. This is consistent with
the behavior of of_mdiobus_register() when CONFIG_OF=n.

I only converted the most obvious drivers, there are others that have a much
less obvious behavior and specifically attempt to deal with CONFIG_ACPI.

Changes in v2:

- fixed build error in davincin_mdio.c (Grygorii)
- reworked first patch a bit: commit message, subject and removed useless
  code comment
====================

Signed-off-by: David S. Miller <davem@davemloft.net>