summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:54 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:54 +0200
commit98dc3b5edf2c194101fbea7631fc8e1852eadf03 (patch)
tree468a44986da033cadc1ac5eea27abcea5af550b9 /drivers/misc
parent9bcde613eaa6b5bc2e2030b4ee40ffb9662327a6 (diff)
downloadop-kernel-dev-98dc3b5edf2c194101fbea7631fc8e1852eadf03.zip
op-kernel-dev-98dc3b5edf2c194101fbea7631fc8e1852eadf03.tar.gz
misc: carma: 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>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/carma/carma-fpga-program.c1
-rw-r--r--drivers/misc/carma/carma-fpga.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/misc/carma/carma-fpga-program.c b/drivers/misc/carma/carma-fpga-program.c
index 339b252..6fa52f7 100644
--- a/drivers/misc/carma/carma-fpga-program.c
+++ b/drivers/misc/carma/carma-fpga-program.c
@@ -1091,7 +1091,6 @@ static struct platform_driver fpga_of_driver = {
.driver = {
.name = drv_name,
.of_match_table = fpga_of_match,
- .owner = THIS_MODULE,
},
};
diff --git a/drivers/misc/carma/carma-fpga.c b/drivers/misc/carma/carma-fpga.c
index 55e913b..cdf2d7b 100644
--- a/drivers/misc/carma/carma-fpga.c
+++ b/drivers/misc/carma/carma-fpga.c
@@ -1433,7 +1433,6 @@ static struct platform_driver data_of_driver = {
.driver = {
.name = drv_name,
.of_match_table = data_of_match,
- .owner = THIS_MODULE,
},
};
OpenPOWER on IntegriCloud