summaryrefslogtreecommitdiff
path: root/drivers/input/misc/max8997_haptic.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/max8997_haptic.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/max8997_haptic.c')
-rw-r--r--drivers/input/misc/max8997_haptic.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/misc/max8997_haptic.c b/drivers/input/misc/max8997_haptic.c
index a363ebbd9cc0..5b3154edf822 100644
--- a/drivers/input/misc/max8997_haptic.c
+++ b/drivers/input/misc/max8997_haptic.c
@@ -401,7 +401,6 @@ MODULE_DEVICE_TABLE(i2c, max8997_haptic_id);
static struct platform_driver max8997_haptic_driver = {
.driver = {
.name = "max8997-haptic",
- .owner = THIS_MODULE,
.pm = &max8997_haptic_pm_ops,
},
.probe = max8997_haptic_probe,