summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-tps65910.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-05-23 03:49:10 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-06-07 09:35:16 +0200
commit2ec64c9d0d5f6a4fd17dce4fa6645d98b8be0849 (patch)
tree8ab507c7eb8f6627bca9b0e1046f991c2a093629 /drivers/gpio/gpio-tps65910.c
parentgpio: of: add missing of_node_put() to of_gpiochip_add_pin_range() (diff)
downloadlinux-2ec64c9d0d5f6a4fd17dce4fa6645d98b8be0849.tar.xz
linux-2ec64c9d0d5f6a4fd17dce4fa6645d98b8be0849.zip
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-tps65910.c')
-rw-r--r--drivers/gpio/gpio-tps65910.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-tps65910.c b/drivers/gpio/gpio-tps65910.c
index 0ae6a5a54ea8..e63d7dabf78b 100644
--- a/drivers/gpio/gpio-tps65910.c
+++ b/drivers/gpio/gpio-tps65910.c
@@ -184,7 +184,6 @@ skip_init:
static struct platform_driver tps65910_gpio_driver = {
.driver.name = "tps65910-gpio",
- .driver.owner = THIS_MODULE,
.probe = tps65910_gpio_probe,
};