]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitabb2c186bc560f2da02398e9bac55c80b87aa823
tree422540ecbc94f75a8d26f578f843032a7c7730cf
parent7fda69972a104c658849a193730c451dc25f2ba5
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