phy: phy-spear1310-miphy: Use module_platform_driver to register driver.
authorPeter Griffin <peter.griffin@linaro.org>
Fri, 15 Aug 2014 12:40:15 +0000 (13:40 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 24 Sep 2014 09:48:32 +0000 (15:18 +0530)
commit7e65e9c94a0d8dba3a6e1e2052fca26d6ca853e7
treebb9c297108c34def1aa2d4ed0aa7fada953408b2
parent556bdebb3bb155459d3ed1d0c23fdb34cd46af33
phy: phy-spear1310-miphy: Use module_platform_driver to register driver.

Use the module_platform_driver macro to register the driver as this gets
rid of a lot of the boilerplate code.

Also remove .owner field as this gets overridden in __platform_driver_register.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-spear1310-miphy.c