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)
commit7f52da56f76f61112a9c1db41975376764828e71
tree3f0db059a1b10d8c154b81ab56bde52ae30aa61c
parent0953f78971040fff09064bb564d9ac0cd1fb4e69
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