summaryrefslogtreecommitdiffstats
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2018-05-15 16:56:18 -0700
committerDavid S. Miller <davem@davemloft.net>2018-05-16 14:20:35 -0400
commit6d07a68a59274fa168a3ddfbcfe5df029ba0afed (patch)
treee02858312ab7961afd67a4d5c2a222de490ec9e1 /scripts/bpf_helpers_doc.py
parentc6213eb1aee308e67377fd1890d84f7284caf531 (diff)
downloadlinux-6d07a68a59274fa168a3ddfbcfe5df029ba0afed.tar.gz
linux-6d07a68a59274fa168a3ddfbcfe5df029ba0afed.tar.bz2
linux-6d07a68a59274fa168a3ddfbcfe5df029ba0afed.zip
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>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions