aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/serio/maceps2.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:41 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:41 +0200
commit947a0687d19f7bc589183f1f0e2ca46e59cf8310 (patch)
treef995f9103b9214079354ec7f9954338faf9de327 /drivers/input/serio/maceps2.c
parentinput: mouse: drop owner assignment from platform_drivers (diff)
downloadlinux-dev-947a0687d19f7bc589183f1f0e2ca46e59cf8310.tar.xz
linux-dev-947a0687d19f7bc589183f1f0e2ca46e59cf8310.zip
input: serio: 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/serio/maceps2.c')
-rw-r--r--drivers/input/serio/maceps2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/serio/maceps2.c b/drivers/input/serio/maceps2.c
index bc85e1cc66d8..e365c5f4cbc9 100644
--- a/drivers/input/serio/maceps2.c
+++ b/drivers/input/serio/maceps2.c
@@ -162,7 +162,6 @@ static int maceps2_remove(struct platform_device *dev)
static struct platform_driver maceps2_driver = {
.driver = {
.name = "maceps2",
- .owner = THIS_MODULE,
},
.probe = maceps2_probe,
.remove = maceps2_remove,