net: mdio-octeon: Use module_platform_driver()
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 20 Mar 2013 01:41:32 +0000 (01:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Mar 2013 17:25:37 +0000 (13:25 -0400)
commit9fad0c941a4f72becedd52db043506bf3968dae2
tree7705bd73234ae5b7cbdb5d6b61c80befc5c1fb77
parentf8e5fc8c203fd7fe9fe17e1376464ece0bc64829
net: mdio-octeon: Use module_platform_driver()

module_platform_driver macro removes some boilerplate and
simplifies the code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: David Daney <ddaney@caviumnetworks.com>
Acked-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-octeon.c