commit | 25451e5cb99d6e8ab848b9c2c277fef532240a5a | [log] [tgz] |
---|---|---|
author | Peter Griffin <peter.griffin@linaro.org> | Fri Aug 15 13:40:16 2014 +0100 |
committer | Kishon Vijay Abraham I <kishon@ti.com> | Wed Sep 24 15:18:32 2014 +0530 |
tree | 422540ecbc94f75a8d26f578f843032a7c7730cf | |
parent | 7e65e9c94a0d8dba3a6e1e2052fca26d6ca853e7 [diff] |
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>