summaryrefslogtreecommitdiff
path: root/drivers/input/misc/palmas-pwrbutton.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:40 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:40 +0400
commit776bd315a7721574d7d687dd9abf200735d12a2a (patch)
tree7b8aa62ee3b31d095c703a5e636a27730bf398b5 /drivers/input/misc/palmas-pwrbutton.c
parent1d05726c315c146b2ac0c5e94f01fde0c2b73dc1 (diff)
downloadlinux-776bd315a7721574d7d687dd9abf200735d12a2a.tar.xz
input: misc: 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/input/misc/palmas-pwrbutton.c')
-rw-r--r--drivers/input/misc/palmas-pwrbutton.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/misc/palmas-pwrbutton.c b/drivers/input/misc/palmas-pwrbutton.c
index f505ac3a8d87..066c5ab632c8 100644
--- a/drivers/input/misc/palmas-pwrbutton.c
+++ b/drivers/input/misc/palmas-pwrbutton.c
@@ -319,7 +319,6 @@ static struct platform_driver palmas_pwron_driver = {
.remove = palmas_pwron_remove,
.driver = {
.name = "palmas_pwrbutton",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(of_palmas_pwr_match),
.pm = &palmas_pwron_pm,
},