]> git.baikalelectronics.ru Git - kernel.git/commit
net: mdio-gpio: warn about missing bus alias id
authorJohan Hovold <jhovold@gmail.com>
Thu, 8 May 2014 08:09:21 +0000 (10:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 May 2014 19:51:19 +0000 (15:51 -0400)
commit3c3276dd7fff743f801289be7757acde51e46a07
tree3f0db059a1b10d8c154b81ab56bde52ae30aa61c
parente3be21689be791c73ccdc2e9ba36b3d1d6d488b2
net: mdio-gpio: warn about missing bus alias id

Use a sane default bus id (rather than -ENODEV) and print a warning when
the bus alias id is missing.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-gpio.c