summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:35 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:35 +0200
commit53b72c17873ad3500c19c71dd3074a57604880eb (patch)
tree20cf3f55f491721ebdfbb8890c4e5c624c3351b6
parentgpu: drm: tilcdc: drop owner assignment from platform_drivers (diff)
downloadlinux-53b72c17873ad3500c19c71dd3074a57604880eb.tar.xz
linux-53b72c17873ad3500c19c71dd3074a57604880eb.zip
hsi: controllers: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r--drivers/hsi/controllers/omap_ssi.c1
-rw-r--r--drivers/hsi/controllers/omap_ssi_port.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/hsi/controllers/omap_ssi.c b/drivers/hsi/controllers/omap_ssi.c
index bf0eace4cb67..8cd03e5c1db6 100644
--- a/drivers/hsi/controllers/omap_ssi.c
+++ b/drivers/hsi/controllers/omap_ssi.c
@@ -610,7 +610,6 @@ static struct platform_driver ssi_pdriver = {
.remove = __exit_p(ssi_remove),
.driver = {
.name = "omap_ssi",
- .owner = THIS_MODULE,
.pm = DEV_PM_OPS,
.of_match_table = omap_ssi_of_match,
},
diff --git a/drivers/hsi/controllers/omap_ssi_port.c b/drivers/hsi/controllers/omap_ssi_port.c
index 4c0b5820581e..c65455af050e 100644
--- a/drivers/hsi/controllers/omap_ssi_port.c
+++ b/drivers/hsi/controllers/omap_ssi_port.c
@@ -1385,7 +1385,6 @@ static struct platform_driver ssi_port_pdriver = {
.remove = __exit_p(ssi_port_remove),
.driver = {
.name = "omap_ssi_port",
- .owner = THIS_MODULE,
.of_match_table = omap_ssi_port_of_match,
.pm = DEV_PM_OPS,
},