diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:39 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:39 -0400 |
commit | 1d05726c315c146b2ac0c5e94f01fde0c2b73dc1 (patch) | |
tree | be39ba6782313a9861b1d2053e6a8ca1749302f7 /drivers/input/keyboard | |
parent | 770ca15c0369b9237bf143e3f9c1f5a406cb45b4 (diff) |
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')
27 files changed, 0 insertions, 27 deletions
diff --git a/drivers/input/keyboard/adp5520-keys.c b/drivers/input/keyboard/adp5520-keys.c index 7f4a8b58efc1..db1004dad108 100644 --- a/drivers/input/keyboard/adp5520-keys.c +++ b/drivers/input/keyboard/adp5520-keys.c | |||
@@ -184,7 +184,6 @@ static int adp5520_keys_remove(struct platform_device *pdev) | |||
184 | static struct platform_driver adp5520_keys_driver = { | 184 | static struct platform_driver adp5520_keys_driver = { |
185 | .driver = { | 185 | .driver = { |
186 | .name = "adp5520-keys", | 186 | .name = "adp5520-keys", |
187 | .owner = THIS_MODULE, | ||
188 | }, | 187 | }, |
189 | .probe = adp5520_keys_probe, | 188 | .probe = adp5520_keys_probe, |
190 | .remove = adp5520_keys_remove, | 189 | .remove = adp5520_keys_remove, |
diff --git a/drivers/input/keyboard/amikbd.c b/drivers/input/keyboard/amikbd.c index 096d6067ae1f..d3b8c58fcfdb 100644 --- a/drivers/input/keyboard/amikbd.c +++ b/drivers/input/keyboard/amikbd.c | |||
@@ -255,7 +255,6 @@ static struct platform_driver amikbd_driver = { | |||
255 | .remove = __exit_p(amikbd_remove), | 255 | .remove = __exit_p(amikbd_remove), |
256 | .driver = { | 256 | .driver = { |
257 | .name = "amiga-keyboard", | 257 | .name = "amiga-keyboard", |
258 | .owner = THIS_MODULE, | ||
259 | }, | 258 | }, |
260 | }; | 259 | }; |
261 | 260 | ||
diff --git a/drivers/input/keyboard/bf54x-keys.c b/drivers/input/keyboard/bf54x-keys.c index e6d46c5994d7..81b07dddae86 100644 --- a/drivers/input/keyboard/bf54x-keys.c +++ b/drivers/input/keyboard/bf54x-keys.c | |||
@@ -385,7 +385,6 @@ static int bfin_kpad_resume(struct platform_device *pdev) | |||
385 | static struct platform_driver bfin_kpad_device_driver = { | 385 | static struct platform_driver bfin_kpad_device_driver = { |
386 | .driver = { | 386 | .driver = { |
387 | .name = DRV_NAME, | 387 | .name = DRV_NAME, |
388 | .owner = THIS_MODULE, | ||
389 | }, | 388 | }, |
390 | .probe = bfin_kpad_probe, | 389 | .probe = bfin_kpad_probe, |
391 | .remove = bfin_kpad_remove, | 390 | .remove = bfin_kpad_remove, |
diff --git a/drivers/input/keyboard/clps711x-keypad.c b/drivers/input/keyboard/clps711x-keypad.c index 552b65c6e6b0..27ef29f8fe6a 100644 --- a/drivers/input/keyboard/clps711x-keypad.c +++ b/drivers/input/keyboard/clps711x-keypad.c | |||
@@ -194,7 +194,6 @@ MODULE_DEVICE_TABLE(of, clps711x_keypad_of_match); | |||
194 | static struct platform_driver clps711x_keypad_driver = { | 194 | static struct platform_driver clps711x_keypad_driver = { |
195 | .driver = { | 195 | .driver = { |
196 | .name = "clps711x-keypad", | 196 | .name = "clps711x-keypad", |
197 | .owner = THIS_MODULE, | ||
198 | .of_match_table = clps711x_keypad_of_match, | 197 | .of_match_table = clps711x_keypad_of_match, |
199 | }, | 198 | }, |
200 | .probe = clps711x_keypad_probe, | 199 | .probe = clps711x_keypad_probe, |
diff --git a/drivers/input/keyboard/davinci_keyscan.c b/drivers/input/keyboard/davinci_keyscan.c index 1559dc1cf951..f363d1d2907a 100644 --- a/drivers/input/keyboard/davinci_keyscan.c +++ b/drivers/input/keyboard/davinci_keyscan.c | |||
@@ -322,7 +322,6 @@ static int davinci_ks_remove(struct platform_device *pdev) | |||
322 | static struct platform_driver davinci_ks_driver = { | 322 | static struct platform_driver davinci_ks_driver = { |
323 | .driver = { | 323 | .driver = { |
324 | .name = "davinci_keyscan", | 324 | .name = "davinci_keyscan", |
325 | .owner = THIS_MODULE, | ||
326 | }, | 325 | }, |
327 | .remove = davinci_ks_remove, | 326 | .remove = davinci_ks_remove, |
328 | }; | 327 | }; |
diff --git a/drivers/input/keyboard/ep93xx_keypad.c b/drivers/input/keyboard/ep93xx_keypad.c index e59876212b8c..f77b295e0123 100644 --- a/drivers/input/keyboard/ep93xx_keypad.c +++ b/drivers/input/keyboard/ep93xx_keypad.c | |||
@@ -373,7 +373,6 @@ static int ep93xx_keypad_remove(struct platform_device *pdev) | |||
373 | static struct platform_driver ep93xx_keypad_driver = { | 373 | static struct platform_driver ep93xx_keypad_driver = { |
374 | .driver = { | 374 | .driver = { |
375 | .name = "ep93xx-keypad", | 375 | .name = "ep93xx-keypad", |
376 | .owner = THIS_MODULE, | ||
377 | .pm = &ep93xx_keypad_pm_ops, | 376 | .pm = &ep93xx_keypad_pm_ops, |
378 | }, | 377 | }, |
379 | .probe = ep93xx_keypad_probe, | 378 | .probe = ep93xx_keypad_probe, |
diff --git a/drivers/input/keyboard/goldfish_events.c b/drivers/input/keyboard/goldfish_events.c index 69e854763370..907e4e278fce 100644 --- a/drivers/input/keyboard/goldfish_events.c +++ b/drivers/input/keyboard/goldfish_events.c | |||
@@ -181,7 +181,6 @@ static int events_probe(struct platform_device *pdev) | |||
181 | static struct platform_driver events_driver = { | 181 | static struct platform_driver events_driver = { |
182 | .probe = events_probe, | 182 | .probe = events_probe, |
183 | .driver = { | 183 | .driver = { |
184 | .owner = THIS_MODULE, | ||
185 | .name = "goldfish_events", | 184 | .name = "goldfish_events", |
186 | }, | 185 | }, |
187 | }; | 186 | }; |
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 = { | |||
835 | .remove = gpio_keys_remove, | 835 | .remove = gpio_keys_remove, |
836 | .driver = { | 836 | .driver = { |
837 | .name = "gpio-keys", | 837 | .name = "gpio-keys", |
838 | .owner = THIS_MODULE, | ||
839 | .pm = &gpio_keys_pm_ops, | 838 | .pm = &gpio_keys_pm_ops, |
840 | .of_match_table = of_match_ptr(gpio_keys_of_match), | 839 | .of_match_table = of_match_ptr(gpio_keys_of_match), |
841 | } | 840 | } |
diff --git a/drivers/input/keyboard/gpio_keys_polled.c b/drivers/input/keyboard/gpio_keys_polled.c index 432d36395f35..10f0098f3c77 100644 --- a/drivers/input/keyboard/gpio_keys_polled.c +++ b/drivers/input/keyboard/gpio_keys_polled.c | |||
@@ -307,7 +307,6 @@ static struct platform_driver gpio_keys_polled_driver = { | |||
307 | .probe = gpio_keys_polled_probe, | 307 | .probe = gpio_keys_polled_probe, |
308 | .driver = { | 308 | .driver = { |
309 | .name = DRV_NAME, | 309 | .name = DRV_NAME, |
310 | .owner = THIS_MODULE, | ||
311 | .of_match_table = of_match_ptr(gpio_keys_polled_of_match), | 310 | .of_match_table = of_match_ptr(gpio_keys_polled_of_match), |
312 | }, | 311 | }, |
313 | }; | 312 | }; |
diff --git a/drivers/input/keyboard/imx_keypad.c b/drivers/input/keyboard/imx_keypad.c index 20a99c368d16..e53f232eda0e 100644 --- a/drivers/input/keyboard/imx_keypad.c +++ b/drivers/input/keyboard/imx_keypad.c | |||
@@ -580,7 +580,6 @@ static SIMPLE_DEV_PM_OPS(imx_kbd_pm_ops, imx_kbd_suspend, imx_kbd_resume); | |||
580 | static struct platform_driver imx_keypad_driver = { | 580 | static struct platform_driver imx_keypad_driver = { |
581 | .driver = { | 581 | .driver = { |
582 | .name = "imx-keypad", | 582 | .name = "imx-keypad", |
583 | .owner = THIS_MODULE, | ||
584 | .pm = &imx_kbd_pm_ops, | 583 | .pm = &imx_kbd_pm_ops, |
585 | .of_match_table = of_match_ptr(imx_keypad_of_match), | 584 | .of_match_table = of_match_ptr(imx_keypad_of_match), |
586 | }, | 585 | }, |
diff --git a/drivers/input/keyboard/jornada680_kbd.c b/drivers/input/keyboard/jornada680_kbd.c index 0ba4428da24a..80c81278ad2c 100644 --- a/drivers/input/keyboard/jornada680_kbd.c +++ b/drivers/input/keyboard/jornada680_kbd.c | |||
@@ -237,7 +237,6 @@ static int jornada680kbd_probe(struct platform_device *pdev) | |||
237 | static struct platform_driver jornada680kbd_driver = { | 237 | static struct platform_driver jornada680kbd_driver = { |
238 | .driver = { | 238 | .driver = { |
239 | .name = "jornada680_kbd", | 239 | .name = "jornada680_kbd", |
240 | .owner = THIS_MODULE, | ||
241 | }, | 240 | }, |
242 | .probe = jornada680kbd_probe, | 241 | .probe = jornada680kbd_probe, |
243 | }; | 242 | }; |
diff --git a/drivers/input/keyboard/jornada720_kbd.c b/drivers/input/keyboard/jornada720_kbd.c index cd729d485e98..421d9c55b0e8 100644 --- a/drivers/input/keyboard/jornada720_kbd.c +++ b/drivers/input/keyboard/jornada720_kbd.c | |||
@@ -167,7 +167,6 @@ MODULE_ALIAS("platform:jornada720_kbd"); | |||
167 | static struct platform_driver jornada720_kbd_driver = { | 167 | static struct platform_driver jornada720_kbd_driver = { |
168 | .driver = { | 168 | .driver = { |
169 | .name = "jornada720_kbd", | 169 | .name = "jornada720_kbd", |
170 | .owner = THIS_MODULE, | ||
171 | }, | 170 | }, |
172 | .probe = jornada720_kbd_probe, | 171 | .probe = jornada720_kbd_probe, |
173 | .remove = jornada720_kbd_remove, | 172 | .remove = jornada720_kbd_remove, |
diff --git a/drivers/input/keyboard/lpc32xx-keys.c b/drivers/input/keyboard/lpc32xx-keys.c index 8b1b01361ec6..8c079371c2e7 100644 --- a/drivers/input/keyboard/lpc32xx-keys.c +++ b/drivers/input/keyboard/lpc32xx-keys.c | |||
@@ -381,7 +381,6 @@ static struct platform_driver lpc32xx_kscan_driver = { | |||
381 | .remove = lpc32xx_kscan_remove, | 381 | .remove = lpc32xx_kscan_remove, |
382 | .driver = { | 382 | .driver = { |
383 | .name = DRV_NAME, | 383 | .name = DRV_NAME, |
384 | .owner = THIS_MODULE, | ||
385 | .pm = &lpc32xx_kscan_pm_ops, | 384 | .pm = &lpc32xx_kscan_pm_ops, |
386 | .of_match_table = lpc32xx_kscan_match, | 385 | .of_match_table = lpc32xx_kscan_match, |
387 | } | 386 | } |
diff --git a/drivers/input/keyboard/matrix_keypad.c b/drivers/input/keyboard/matrix_keypad.c index e651fa692afe..b370a59cb759 100644 --- a/drivers/input/keyboard/matrix_keypad.c +++ b/drivers/input/keyboard/matrix_keypad.c | |||
@@ -565,7 +565,6 @@ static struct platform_driver matrix_keypad_driver = { | |||
565 | .remove = matrix_keypad_remove, | 565 | .remove = matrix_keypad_remove, |
566 | .driver = { | 566 | .driver = { |
567 | .name = "matrix-keypad", | 567 | .name = "matrix-keypad", |
568 | .owner = THIS_MODULE, | ||
569 | .pm = &matrix_keypad_pm_ops, | 568 | .pm = &matrix_keypad_pm_ops, |
570 | .of_match_table = of_match_ptr(matrix_keypad_dt_match), | 569 | .of_match_table = of_match_ptr(matrix_keypad_dt_match), |
571 | }, | 570 | }, |
diff --git a/drivers/input/keyboard/nomadik-ske-keypad.c b/drivers/input/keyboard/nomadik-ske-keypad.c index 63332e2f8628..c7d5b1666fc3 100644 --- a/drivers/input/keyboard/nomadik-ske-keypad.c +++ b/drivers/input/keyboard/nomadik-ske-keypad.c | |||
@@ -425,7 +425,6 @@ static SIMPLE_DEV_PM_OPS(ske_keypad_dev_pm_ops, | |||
425 | static struct platform_driver ske_keypad_driver = { | 425 | static struct platform_driver ske_keypad_driver = { |
426 | .driver = { | 426 | .driver = { |
427 | .name = "nmk-ske-keypad", | 427 | .name = "nmk-ske-keypad", |
428 | .owner = THIS_MODULE, | ||
429 | .pm = &ske_keypad_dev_pm_ops, | 428 | .pm = &ske_keypad_dev_pm_ops, |
430 | }, | 429 | }, |
431 | .remove = ske_keypad_remove, | 430 | .remove = ske_keypad_remove, |
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); | |||
268 | static struct platform_driver nspire_keypad_driver = { | 268 | static struct platform_driver nspire_keypad_driver = { |
269 | .driver = { | 269 | .driver = { |
270 | .name = "nspire-keypad", | 270 | .name = "nspire-keypad", |
271 | .owner = THIS_MODULE, | ||
272 | .of_match_table = nspire_keypad_dt_match, | 271 | .of_match_table = nspire_keypad_dt_match, |
273 | }, | 272 | }, |
274 | .probe = nspire_keypad_probe, | 273 | .probe = nspire_keypad_probe, |
diff --git a/drivers/input/keyboard/omap-keypad.c b/drivers/input/keyboard/omap-keypad.c index b1acc9852eb7..7502e46165fa 100644 --- a/drivers/input/keyboard/omap-keypad.c +++ b/drivers/input/keyboard/omap-keypad.c | |||
@@ -383,7 +383,6 @@ static struct platform_driver omap_kp_driver = { | |||
383 | .resume = omap_kp_resume, | 383 | .resume = omap_kp_resume, |
384 | .driver = { | 384 | .driver = { |
385 | .name = "omap-keypad", | 385 | .name = "omap-keypad", |
386 | .owner = THIS_MODULE, | ||
387 | }, | 386 | }, |
388 | }; | 387 | }; |
389 | module_platform_driver(omap_kp_driver); | 388 | module_platform_driver(omap_kp_driver); |
diff --git a/drivers/input/keyboard/omap4-keypad.c b/drivers/input/keyboard/omap4-keypad.c index 024b7bdffe5b..b052afec9a11 100644 --- a/drivers/input/keyboard/omap4-keypad.c +++ b/drivers/input/keyboard/omap4-keypad.c | |||
@@ -460,7 +460,6 @@ static struct platform_driver omap4_keypad_driver = { | |||
460 | .remove = omap4_keypad_remove, | 460 | .remove = omap4_keypad_remove, |
461 | .driver = { | 461 | .driver = { |
462 | .name = "omap4-keypad", | 462 | .name = "omap4-keypad", |
463 | .owner = THIS_MODULE, | ||
464 | .pm = &omap4_keypad_pm_ops, | 463 | .pm = &omap4_keypad_pm_ops, |
465 | .of_match_table = omap_keypad_dt_match, | 464 | .of_match_table = omap_keypad_dt_match, |
466 | }, | 465 | }, |
diff --git a/drivers/input/keyboard/pmic8xxx-keypad.c b/drivers/input/keyboard/pmic8xxx-keypad.c index 80c6b0ef3fc8..32580afecc26 100644 --- a/drivers/input/keyboard/pmic8xxx-keypad.c +++ b/drivers/input/keyboard/pmic8xxx-keypad.c | |||
@@ -687,7 +687,6 @@ static struct platform_driver pmic8xxx_kp_driver = { | |||
687 | .probe = pmic8xxx_kp_probe, | 687 | .probe = pmic8xxx_kp_probe, |
688 | .driver = { | 688 | .driver = { |
689 | .name = "pm8xxx-keypad", | 689 | .name = "pm8xxx-keypad", |
690 | .owner = THIS_MODULE, | ||
691 | .pm = &pm8xxx_kp_pm_ops, | 690 | .pm = &pm8xxx_kp_pm_ops, |
692 | .of_match_table = pm8xxx_match_table, | 691 | .of_match_table = pm8xxx_match_table, |
693 | }, | 692 | }, |
diff --git a/drivers/input/keyboard/pxa27x_keypad.c b/drivers/input/keyboard/pxa27x_keypad.c index a15063bea700..6ab3e7c96329 100644 --- a/drivers/input/keyboard/pxa27x_keypad.c +++ b/drivers/input/keyboard/pxa27x_keypad.c | |||
@@ -881,7 +881,6 @@ static struct platform_driver pxa27x_keypad_driver = { | |||
881 | .driver = { | 881 | .driver = { |
882 | .name = "pxa27x-keypad", | 882 | .name = "pxa27x-keypad", |
883 | .of_match_table = of_match_ptr(pxa27x_keypad_dt_match), | 883 | .of_match_table = of_match_ptr(pxa27x_keypad_dt_match), |
884 | .owner = THIS_MODULE, | ||
885 | .pm = &pxa27x_keypad_pm_ops, | 884 | .pm = &pxa27x_keypad_pm_ops, |
886 | }, | 885 | }, |
887 | }; | 886 | }; |
diff --git a/drivers/input/keyboard/pxa930_rotary.c b/drivers/input/keyboard/pxa930_rotary.c index 374ca0246c8f..1cf5211fddaa 100644 --- a/drivers/input/keyboard/pxa930_rotary.c +++ b/drivers/input/keyboard/pxa930_rotary.c | |||
@@ -189,7 +189,6 @@ static int pxa930_rotary_remove(struct platform_device *pdev) | |||
189 | static struct platform_driver pxa930_rotary_driver = { | 189 | static struct platform_driver pxa930_rotary_driver = { |
190 | .driver = { | 190 | .driver = { |
191 | .name = "pxa930-rotary", | 191 | .name = "pxa930-rotary", |
192 | .owner = THIS_MODULE, | ||
193 | }, | 192 | }, |
194 | .probe = pxa930_rotary_probe, | 193 | .probe = pxa930_rotary_probe, |
195 | .remove = pxa930_rotary_remove, | 194 | .remove = pxa930_rotary_remove, |
diff --git a/drivers/input/keyboard/samsung-keypad.c b/drivers/input/keyboard/samsung-keypad.c index 5e80fbf7b5ed..43ebd9c174bc 100644 --- a/drivers/input/keyboard/samsung-keypad.c +++ b/drivers/input/keyboard/samsung-keypad.c | |||
@@ -602,7 +602,6 @@ static struct platform_driver samsung_keypad_driver = { | |||
602 | .remove = samsung_keypad_remove, | 602 | .remove = samsung_keypad_remove, |
603 | .driver = { | 603 | .driver = { |
604 | .name = "samsung-keypad", | 604 | .name = "samsung-keypad", |
605 | .owner = THIS_MODULE, | ||
606 | .of_match_table = of_match_ptr(samsung_keypad_dt_match), | 605 | .of_match_table = of_match_ptr(samsung_keypad_dt_match), |
607 | .pm = &samsung_keypad_pm_ops, | 606 | .pm = &samsung_keypad_pm_ops, |
608 | }, | 607 | }, |
diff --git a/drivers/input/keyboard/spear-keyboard.c b/drivers/input/keyboard/spear-keyboard.c index 258af10e5811..f42a543db043 100644 --- a/drivers/input/keyboard/spear-keyboard.c +++ b/drivers/input/keyboard/spear-keyboard.c | |||
@@ -385,7 +385,6 @@ static struct platform_driver spear_kbd_driver = { | |||
385 | .remove = spear_kbd_remove, | 385 | .remove = spear_kbd_remove, |
386 | .driver = { | 386 | .driver = { |
387 | .name = "keyboard", | 387 | .name = "keyboard", |
388 | .owner = THIS_MODULE, | ||
389 | .pm = &spear_kbd_pm_ops, | 388 | .pm = &spear_kbd_pm_ops, |
390 | .of_match_table = of_match_ptr(spear_kbd_id_table), | 389 | .of_match_table = of_match_ptr(spear_kbd_id_table), |
391 | }, | 390 | }, |
diff --git a/drivers/input/keyboard/tc3589x-keypad.c b/drivers/input/keyboard/tc3589x-keypad.c index ad7abae69078..8ff612d160b0 100644 --- a/drivers/input/keyboard/tc3589x-keypad.c +++ b/drivers/input/keyboard/tc3589x-keypad.c | |||
@@ -505,7 +505,6 @@ static SIMPLE_DEV_PM_OPS(tc3589x_keypad_dev_pm_ops, | |||
505 | static struct platform_driver tc3589x_keypad_driver = { | 505 | static struct platform_driver tc3589x_keypad_driver = { |
506 | .driver = { | 506 | .driver = { |
507 | .name = "tc3589x-keypad", | 507 | .name = "tc3589x-keypad", |
508 | .owner = THIS_MODULE, | ||
509 | .pm = &tc3589x_keypad_dev_pm_ops, | 508 | .pm = &tc3589x_keypad_dev_pm_ops, |
510 | }, | 509 | }, |
511 | .probe = tc3589x_keypad_probe, | 510 | .probe = tc3589x_keypad_probe, |
diff --git a/drivers/input/keyboard/tegra-kbc.c b/drivers/input/keyboard/tegra-kbc.c index 9757a58bc897..f97c73bd14f8 100644 --- a/drivers/input/keyboard/tegra-kbc.c +++ b/drivers/input/keyboard/tegra-kbc.c | |||
@@ -822,7 +822,6 @@ static struct platform_driver tegra_kbc_driver = { | |||
822 | .probe = tegra_kbc_probe, | 822 | .probe = tegra_kbc_probe, |
823 | .driver = { | 823 | .driver = { |
824 | .name = "tegra-kbc", | 824 | .name = "tegra-kbc", |
825 | .owner = THIS_MODULE, | ||
826 | .pm = &tegra_kbc_pm_ops, | 825 | .pm = &tegra_kbc_pm_ops, |
827 | .of_match_table = tegra_kbc_of_match, | 826 | .of_match_table = tegra_kbc_of_match, |
828 | }, | 827 | }, |
diff --git a/drivers/input/keyboard/twl4030_keypad.c b/drivers/input/keyboard/twl4030_keypad.c index c5a11700a1bf..bbcccd67247d 100644 --- a/drivers/input/keyboard/twl4030_keypad.c +++ b/drivers/input/keyboard/twl4030_keypad.c | |||
@@ -459,7 +459,6 @@ static struct platform_driver twl4030_kp_driver = { | |||
459 | .probe = twl4030_kp_probe, | 459 | .probe = twl4030_kp_probe, |
460 | .driver = { | 460 | .driver = { |
461 | .name = "twl4030_keypad", | 461 | .name = "twl4030_keypad", |
462 | .owner = THIS_MODULE, | ||
463 | .of_match_table = of_match_ptr(twl4030_keypad_dt_match_table), | 462 | .of_match_table = of_match_ptr(twl4030_keypad_dt_match_table), |
464 | }, | 463 | }, |
465 | }; | 464 | }; |
diff --git a/drivers/input/keyboard/w90p910_keypad.c b/drivers/input/keyboard/w90p910_keypad.c index e8b9d94daae7..a1ff69c53102 100644 --- a/drivers/input/keyboard/w90p910_keypad.c +++ b/drivers/input/keyboard/w90p910_keypad.c | |||
@@ -258,7 +258,6 @@ static struct platform_driver w90p910_keypad_driver = { | |||
258 | .remove = w90p910_keypad_remove, | 258 | .remove = w90p910_keypad_remove, |
259 | .driver = { | 259 | .driver = { |
260 | .name = "nuc900-kpi", | 260 | .name = "nuc900-kpi", |
261 | .owner = THIS_MODULE, | ||
262 | }, | 261 | }, |
263 | }; | 262 | }; |
264 | module_platform_driver(w90p910_keypad_driver); | 263 | module_platform_driver(w90p910_keypad_driver); |