net: mdio-gpio: Use devm_ functions where possible
authorGuenter Roeck <linux@roeck-us.net>
Wed, 16 Apr 2014 02:16:40 +0000 (19:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Apr 2014 19:09:51 +0000 (15:09 -0400)
commit78cdb079685cd8365acaf9fce896137e7d60e1c1
treec339c7d4df604b318a8cb8b5fa6078a23bcfcad9
parentbc383ea52278f1fafd7592ea7faf4b8f1edd8602
net: mdio-gpio: Use devm_ functions where possible

This simplifies error path and deinit/removal functions.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Chris Healy <cphealy@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-gpio.c