summaryrefslogtreecommitdiffstats
path: root/drivers/phy/phy-omap-usb2.c
diff options
context:
space:
mode:
authorPeter Griffin2014-08-15 14:40:14 +0200
committerKishon Vijay Abraham I2014-09-24 11:48:34 +0200
commit4f0eb5d7efe375859b15c97f453113a242bf057b (patch)
tree67e3942ebdba9f9604976c160425845acd5c674e /drivers/phy/phy-omap-usb2.c
parentphy: exynos-dp-video: Use syscon support to control pmu register (diff)
downloadkernel-qcow2-linux-4f0eb5d7efe375859b15c97f453113a242bf057b.tar.gz
kernel-qcow2-linux-4f0eb5d7efe375859b15c97f453113a242bf057b.tar.xz
kernel-qcow2-linux-4f0eb5d7efe375859b15c97f453113a242bf057b.zip
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-omap-usb2.c')
-rw-r--r--drivers/phy/phy-omap-usb2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/phy/phy-omap-usb2.c b/drivers/phy/phy-omap-usb2.c
index 51c6f92220c5..8c842980834a 100644
--- a/drivers/phy/phy-omap-usb2.c
+++ b/drivers/phy/phy-omap-usb2.c
@@ -378,7 +378,6 @@ static struct platform_driver omap_usb2_driver = {
.remove = omap_usb2_remove,
.driver = {
.name = "omap-usb2",
- .owner = THIS_MODULE,
.pm = DEV_PM_OPS,
.of_match_table = of_match_ptr(omap_usb2_id_table),
},