net: mdio-gpio: Use module_platform_driver()
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 20 Mar 2013 01:41:31 +0000 (01:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Mar 2013 17:25:37 +0000 (13:25 -0400)
commitf8e5fc8c203fd7fe9fe17e1376464ece0bc64829
treef6f479579510911dd4604fcc83f7a6fea543c01d
parent95d158df4459016c98e8dae2229d12be09d79324
net: mdio-gpio: Use module_platform_driver()

module_platform_driver macro removes some boilerplate and
simplifies the code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-gpio.c