aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-stmpe.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-05-22 21:49:10 -0400
committerLinus Walleij <linus.walleij@linaro.org>2016-06-07 03:35:16 -0400
commit2ec64c9d0d5f6a4fd17dce4fa6645d98b8be0849 (patch)
tree8ab507c7eb8f6627bca9b0e1046f991c2a093629 /drivers/gpio/gpio-stmpe.c
parent602cf63875f73f3faaa8b3b21a6ba8d1aa32424a (diff)
gpio: remove redundant owner assignments of drivers
A platform_driver need not set an owner since it will be populated by platform_driver_register(). Likewise for mcb_driver (gpio-menz127.c). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-stmpe.c')
-rw-r--r--drivers/gpio/gpio-stmpe.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-stmpe.c b/drivers/gpio/gpio-stmpe.c
index 8480bd72661f..f675132de10e 100644
--- a/drivers/gpio/gpio-stmpe.c
+++ b/drivers/gpio/gpio-stmpe.c
@@ -433,7 +433,6 @@ static struct platform_driver stmpe_gpio_driver = {
433 .driver = { 433 .driver = {
434 .suppress_bind_attrs = true, 434 .suppress_bind_attrs = true,
435 .name = "stmpe-gpio", 435 .name = "stmpe-gpio",
436 .owner = THIS_MODULE,
437 }, 436 },
438 .probe = stmpe_gpio_probe, 437 .probe = stmpe_gpio_probe,
439}; 438};