summaryrefslogtreecommitdiffstats
path: root/drivers/phy/phy-xgene.c
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2014-08-15 13:40:14 +0100
committerKishon Vijay Abraham I <kishon@ti.com>2014-09-24 15:18:34 +0530
commit4f0eb5d7efe375859b15c97f453113a242bf057b (patch)
tree67e3942ebdba9f9604976c160425845acd5c674e /drivers/phy/phy-xgene.c
parenta5ec598650257d9a7abefa6616840c872e194fdb (diff)
downloadop-kernel-dev-4f0eb5d7efe375859b15c97f453113a242bf057b.zip
op-kernel-dev-4f0eb5d7efe375859b15c97f453113a242bf057b.tar.gz
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-xgene.c')
-rw-r--r--drivers/phy/phy-xgene.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/phy/phy-xgene.c b/drivers/phy/phy-xgene.c
index db809b9..f8a51b1 100644
--- a/drivers/phy/phy-xgene.c
+++ b/drivers/phy/phy-xgene.c
@@ -1738,7 +1738,6 @@ static struct platform_driver xgene_phy_driver = {
.probe = xgene_phy_probe,
.driver = {
.name = "xgene-phy",
- .owner = THIS_MODULE,
.of_match_table = xgene_phy_of_match,
},
};
OpenPOWER on IntegriCloud