diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:20:19 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:20:19 +0200 |
commit | 06861ab52b4c355d65c8a72aa3817261158cc409 (patch) | |
tree | 0cf0f33da0d8276a53ac83f3a10352e480635022 /drivers/char/sonypi.c | |
parent | 571b8c6adb1b48046ee2dc5e67ed161a4b5c33cf (diff) | |
download | op-kernel-dev-06861ab52b4c355d65c8a72aa3817261158cc409.zip op-kernel-dev-06861ab52b4c355d65c8a72aa3817261158cc409.tar.gz |
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/sonypi.c')
-rw-r--r-- | drivers/char/sonypi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c index 7cc1fe22..e496dae 100644 --- a/drivers/char/sonypi.c +++ b/drivers/char/sonypi.c @@ -1482,7 +1482,6 @@ static void sonypi_shutdown(struct platform_device *dev) static struct platform_driver sonypi_driver = { .driver = { .name = "sonypi", - .owner = THIS_MODULE, .pm = SONYPI_PM, }, .probe = sonypi_probe, |