diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:19 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:19 -0400 |
commit | 06861ab52b4c355d65c8a72aa3817261158cc409 (patch) | |
tree | 0cf0f33da0d8276a53ac83f3a10352e480635022 /drivers/char | |
parent | 571b8c6adb1b48046ee2dc5e67ed161a4b5c33cf (diff) |
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/char')
-rw-r--r-- | drivers/char/sonypi.c | 1 | ||||
-rw-r--r-- | drivers/char/tb0219.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c index 7cc1fe2241fd..e496daefe9e0 100644 --- a/drivers/char/sonypi.c +++ b/drivers/char/sonypi.c | |||
@@ -1482,7 +1482,6 @@ static void sonypi_shutdown(struct platform_device *dev) | |||
1482 | static struct platform_driver sonypi_driver = { | 1482 | static struct platform_driver sonypi_driver = { |
1483 | .driver = { | 1483 | .driver = { |
1484 | .name = "sonypi", | 1484 | .name = "sonypi", |
1485 | .owner = THIS_MODULE, | ||
1486 | .pm = SONYPI_PM, | 1485 | .pm = SONYPI_PM, |
1487 | }, | 1486 | }, |
1488 | .probe = sonypi_probe, | 1487 | .probe = sonypi_probe, |
diff --git a/drivers/char/tb0219.c b/drivers/char/tb0219.c index 47b9fdfcf083..480a777db577 100644 --- a/drivers/char/tb0219.c +++ b/drivers/char/tb0219.c | |||
@@ -337,7 +337,6 @@ static struct platform_driver tb0219_device_driver = { | |||
337 | .remove = tb0219_remove, | 337 | .remove = tb0219_remove, |
338 | .driver = { | 338 | .driver = { |
339 | .name = "TB0219", | 339 | .name = "TB0219", |
340 | .owner = THIS_MODULE, | ||
341 | }, | 340 | }, |
342 | }; | 341 | }; |
343 | 342 | ||