summaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/nspire-keypad.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/nspire-keypad.c
parentiio: adc: drop owner assignment from platform_drivers (diff)
downloadlinux-1d05726c315c146b2ac0c5e94f01fde0c2b73dc1.tar.xz
linux-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/nspire-keypad.c')
-rw-r--r--drivers/input/keyboard/nspire-keypad.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/keyboard/nspire-keypad.c b/drivers/input/keyboard/nspire-keypad.c
index b31064981e96..7abfd34eb87e 100644
--- a/drivers/input/keyboard/nspire-keypad.c
+++ b/drivers/input/keyboard/nspire-keypad.c
@@ -268,7 +268,6 @@ MODULE_DEVICE_TABLE(of, nspire_keypad_dt_match);
static struct platform_driver nspire_keypad_driver = {
.driver = {
.name = "nspire-keypad",
- .owner = THIS_MODULE,
.of_match_table = nspire_keypad_dt_match,
},
.probe = nspire_keypad_probe,