From: Peter Griffin Date: Fri, 15 Aug 2014 12:40:15 +0000 (+0100) Subject: phy: phy-spear1310-miphy: Use module_platform_driver to register driver. X-Git-Tag: fixes-for-v3.18-merge-window~16^2~19^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e65e9c94a0d8dba3a6e1e2052fca26d6ca853e7;p=pandora-kernel.git 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 Signed-off-by: Kishon Vijay Abraham I --- Reading git-diff-tree failed