summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/gpio_mouse.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:40 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:40 +0200
commit128562fb2ad542ab66f293fa2fec92e0ea3e531c (patch)
treec3103126ce83b6c473481a53a82bf5adb89a3d4e /drivers/input/mouse/gpio_mouse.c
parentinput: misc: drop owner assignment from platform_drivers (diff)
downloadlinux-128562fb2ad542ab66f293fa2fec92e0ea3e531c.tar.xz
linux-128562fb2ad542ab66f293fa2fec92e0ea3e531c.zip
input: mouse: 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/mouse/gpio_mouse.c')
-rw-r--r--drivers/input/mouse/gpio_mouse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/mouse/gpio_mouse.c b/drivers/input/mouse/gpio_mouse.c
index 8c7d94200bdb..ced07391304b 100644
--- a/drivers/input/mouse/gpio_mouse.c
+++ b/drivers/input/mouse/gpio_mouse.c
@@ -171,7 +171,6 @@ static struct platform_driver gpio_mouse_device_driver = {
.remove = gpio_mouse_remove,
.driver = {
.name = "gpio_mouse",
- .owner = THIS_MODULE,
}
};
module_platform_driver(gpio_mouse_device_driver);