diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2014-08-15 16:40:14 +0400 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2014-09-24 13:48:34 +0400 |
commit | 4f0eb5d7efe375859b15c97f453113a242bf057b (patch) | |
tree | 67e3942ebdba9f9604976c160425845acd5c674e /drivers/phy/phy-sun4i-usb.c | |
parent | a5ec598650257d9a7abefa6616840c872e194fdb (diff) | |
download | linux-4f0eb5d7efe375859b15c97f453113a242bf057b.tar.xz |
phy: remove .owner field for drivers using module_platform_driver
This patch removes the superflous .owner field for drivers which
use the module_platform_driver or platform_driver_register api,
as this is overriden in __platform_driver_register.
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/phy-sun4i-usb.c')
-rw-r--r-- | drivers/phy/phy-sun4i-usb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/phy/phy-sun4i-usb.c b/drivers/phy/phy-sun4i-usb.c index 61ebea49709b..0baf5efc8a40 100644 --- a/drivers/phy/phy-sun4i-usb.c +++ b/drivers/phy/phy-sun4i-usb.c @@ -325,7 +325,6 @@ static struct platform_driver sun4i_usb_phy_driver = { .driver = { .of_match_table = sun4i_usb_phy_of_match, .name = "sun4i-usb-phy", - .owner = THIS_MODULE, } }; module_platform_driver(sun4i_usb_phy_driver); |