diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:20 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:20 -0400 |
commit | 2422f7e4d1138a740f228bd4983815bf3b3254e4 (patch) | |
tree | c51996769cbc2ed65b49e465e92fec60890f5ca5 | |
parent | 47fc34ffd9c24cf100927da659309a12acbe0d3d (diff) |
parport: 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/parport/parport_amiga.c | 1 | ||||
-rw-r--r-- | drivers/parport/parport_ax88796.c | 1 | ||||
-rw-r--r-- | drivers/parport/parport_pc.c | 1 | ||||
-rw-r--r-- | drivers/parport/parport_sunbpp.c | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/drivers/parport/parport_amiga.c b/drivers/parport/parport_amiga.c index 26ecdea84fb5..9c68f2aec4ff 100644 --- a/drivers/parport/parport_amiga.c +++ b/drivers/parport/parport_amiga.c | |||
@@ -239,7 +239,6 @@ static struct platform_driver amiga_parallel_driver = { | |||
239 | .remove = __exit_p(amiga_parallel_remove), | 239 | .remove = __exit_p(amiga_parallel_remove), |
240 | .driver = { | 240 | .driver = { |
241 | .name = "amiga-parallel", | 241 | .name = "amiga-parallel", |
242 | .owner = THIS_MODULE, | ||
243 | }, | 242 | }, |
244 | }; | 243 | }; |
245 | 244 | ||
diff --git a/drivers/parport/parport_ax88796.c b/drivers/parport/parport_ax88796.c index 7c5d86696eed..8f8c9f3aa691 100644 --- a/drivers/parport/parport_ax88796.c +++ b/drivers/parport/parport_ax88796.c | |||
@@ -412,7 +412,6 @@ MODULE_ALIAS("platform:ax88796-pp"); | |||
412 | static struct platform_driver axdrv = { | 412 | static struct platform_driver axdrv = { |
413 | .driver = { | 413 | .driver = { |
414 | .name = "ax88796-pp", | 414 | .name = "ax88796-pp", |
415 | .owner = THIS_MODULE, | ||
416 | }, | 415 | }, |
417 | .probe = parport_ax88796_probe, | 416 | .probe = parport_ax88796_probe, |
418 | .remove = parport_ax88796_remove, | 417 | .remove = parport_ax88796_remove, |
diff --git a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c index f721299eb1ba..7ae20b7a56bc 100644 --- a/drivers/parport/parport_pc.c +++ b/drivers/parport/parport_pc.c | |||
@@ -3011,7 +3011,6 @@ static int parport_pc_platform_probe(struct platform_device *pdev) | |||
3011 | 3011 | ||
3012 | static struct platform_driver parport_pc_platform_driver = { | 3012 | static struct platform_driver parport_pc_platform_driver = { |
3013 | .driver = { | 3013 | .driver = { |
3014 | .owner = THIS_MODULE, | ||
3015 | .name = "parport_pc", | 3014 | .name = "parport_pc", |
3016 | }, | 3015 | }, |
3017 | .probe = parport_pc_platform_probe, | 3016 | .probe = parport_pc_platform_probe, |
diff --git a/drivers/parport/parport_sunbpp.c b/drivers/parport/parport_sunbpp.c index dffd6d0bd15b..01cf1c1a841a 100644 --- a/drivers/parport/parport_sunbpp.c +++ b/drivers/parport/parport_sunbpp.c | |||
@@ -362,7 +362,6 @@ MODULE_DEVICE_TABLE(of, bpp_match); | |||
362 | static struct platform_driver bpp_sbus_driver = { | 362 | static struct platform_driver bpp_sbus_driver = { |
363 | .driver = { | 363 | .driver = { |
364 | .name = "bpp", | 364 | .name = "bpp", |
365 | .owner = THIS_MODULE, | ||
366 | .of_match_table = bpp_match, | 365 | .of_match_table = bpp_match, |
367 | }, | 366 | }, |
368 | .probe = bpp_probe, | 367 | .probe = bpp_probe, |