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

Using 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-spear1340-miphy.c
This page took 0.033392 seconds and 5 git commands to generate.