]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7fda69972a104c658849a193730c451dc25f2ba5
treebb9c297108c34def1aa2d4ed0aa7fada953408b2
parentead4a0999d0c191f2299d0d010d4a41e7f8dae6e
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