aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/gpio_keys.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:39 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:39 +0200
commit1d05726c315c146b2ac0c5e94f01fde0c2b73dc1 (patch)
treebe39ba6782313a9861b1d2053e6a8ca1749302f7 /drivers/input/keyboard/gpio_keys.c
parentiio: adc: drop owner assignment from platform_drivers (diff)
downloadlinux-dev-1d05726c315c146b2ac0c5e94f01fde0c2b73dc1.tar.xz
linux-dev-1d05726c315c146b2ac0c5e94f01fde0c2b73dc1.zip
input: keyboard: 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/keyboard/gpio_keys.c')
-rw-r--r--drivers/input/keyboard/gpio_keys.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c
index 8c98e97f8e41..8f3a24e15402 100644
--- a/drivers/input/keyboard/gpio_keys.c
+++ b/drivers/input/keyboard/gpio_keys.c
@@ -835,7 +835,6 @@ static struct platform_driver gpio_keys_device_driver = {
.remove = gpio_keys_remove,
.driver = {
.name = "gpio-keys",
- .owner = THIS_MODULE,
.pm = &gpio_keys_pm_ops,
.of_match_table = of_match_ptr(gpio_keys_of_match),
}