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