aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sbus/char
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:32 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:32 -0400
commit7cafb31ca4e85fa4c522cecf917e86e258cfbcaa (patch)
treeb7fec8330ffeb4b31103ef64e3387742deaf11bd /drivers/sbus/char
parentf3326ec8a426c73a26dfcd374a463ea2b0f66b52 (diff)
sbus: char: 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/sbus/char')
-rw-r--r--drivers/sbus/char/bbc_i2c.c1
-rw-r--r--drivers/sbus/char/display7seg.c1
-rw-r--r--drivers/sbus/char/envctrl.c1
-rw-r--r--drivers/sbus/char/flash.c1
-rw-r--r--drivers/sbus/char/uctrl.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/drivers/sbus/char/bbc_i2c.c b/drivers/sbus/char/bbc_i2c.c
index 812b5f0361b6..129967ad345d 100644
--- a/drivers/sbus/char/bbc_i2c.c
+++ b/drivers/sbus/char/bbc_i2c.c
@@ -413,7 +413,6 @@ MODULE_DEVICE_TABLE(of, bbc_i2c_match);
413static struct platform_driver bbc_i2c_driver = { 413static struct platform_driver bbc_i2c_driver = {
414 .driver = { 414 .driver = {
415 .name = "bbc_i2c", 415 .name = "bbc_i2c",
416 .owner = THIS_MODULE,
417 .of_match_table = bbc_i2c_match, 416 .of_match_table = bbc_i2c_match,
418 }, 417 },
419 .probe = bbc_i2c_probe, 418 .probe = bbc_i2c_probe,
diff --git a/drivers/sbus/char/display7seg.c b/drivers/sbus/char/display7seg.c
index 2b0ce7c350ee..33fbe8249fd5 100644
--- a/drivers/sbus/char/display7seg.c
+++ b/drivers/sbus/char/display7seg.c
@@ -263,7 +263,6 @@ MODULE_DEVICE_TABLE(of, d7s_match);
263static struct platform_driver d7s_driver = { 263static struct platform_driver d7s_driver = {
264 .driver = { 264 .driver = {
265 .name = DRIVER_NAME, 265 .name = DRIVER_NAME,
266 .owner = THIS_MODULE,
267 .of_match_table = d7s_match, 266 .of_match_table = d7s_match,
268 }, 267 },
269 .probe = d7s_probe, 268 .probe = d7s_probe,
diff --git a/drivers/sbus/char/envctrl.c b/drivers/sbus/char/envctrl.c
index af15a2fdab5e..e244cf3d9ec8 100644
--- a/drivers/sbus/char/envctrl.c
+++ b/drivers/sbus/char/envctrl.c
@@ -1130,7 +1130,6 @@ MODULE_DEVICE_TABLE(of, envctrl_match);
1130static struct platform_driver envctrl_driver = { 1130static struct platform_driver envctrl_driver = {
1131 .driver = { 1131 .driver = {
1132 .name = DRIVER_NAME, 1132 .name = DRIVER_NAME,
1133 .owner = THIS_MODULE,
1134 .of_match_table = envctrl_match, 1133 .of_match_table = envctrl_match,
1135 }, 1134 },
1136 .probe = envctrl_probe, 1135 .probe = envctrl_probe,
diff --git a/drivers/sbus/char/flash.c b/drivers/sbus/char/flash.c
index 25c738e9ef19..206ef4232adf 100644
--- a/drivers/sbus/char/flash.c
+++ b/drivers/sbus/char/flash.c
@@ -207,7 +207,6 @@ MODULE_DEVICE_TABLE(of, flash_match);
207static struct platform_driver flash_driver = { 207static struct platform_driver flash_driver = {
208 .driver = { 208 .driver = {
209 .name = "flash", 209 .name = "flash",
210 .owner = THIS_MODULE,
211 .of_match_table = flash_match, 210 .of_match_table = flash_match,
212 }, 211 },
213 .probe = flash_probe, 212 .probe = flash_probe,
diff --git a/drivers/sbus/char/uctrl.c b/drivers/sbus/char/uctrl.c
index b7acafc85099..57696fc0b482 100644
--- a/drivers/sbus/char/uctrl.c
+++ b/drivers/sbus/char/uctrl.c
@@ -425,7 +425,6 @@ MODULE_DEVICE_TABLE(of, uctrl_match);
425static struct platform_driver uctrl_driver = { 425static struct platform_driver uctrl_driver = {
426 .driver = { 426 .driver = {
427 .name = "uctrl", 427 .name = "uctrl",
428 .owner = THIS_MODULE,
429 .of_match_table = uctrl_match, 428 .of_match_table = uctrl_match,
430 }, 429 },
431 .probe = uctrl_probe, 430 .probe = uctrl_probe,