diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-05-23 04:49:10 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-06-07 10:35:16 +0300 |
commit | 2ec64c9d0d5f6a4fd17dce4fa6645d98b8be0849 (patch) | |
tree | 8ab507c7eb8f6627bca9b0e1046f991c2a093629 /drivers/gpio/gpio-tc3589x.c | |
parent | 602cf63875f73f3faaa8b3b21a6ba8d1aa32424a (diff) | |
download | linux-2ec64c9d0d5f6a4fd17dce4fa6645d98b8be0849.tar.xz |
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-tc3589x.c')
-rw-r--r-- | drivers/gpio/gpio-tc3589x.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-tc3589x.c b/drivers/gpio/gpio-tc3589x.c index 2e35ed3abbcf..8b3659352e49 100644 --- a/drivers/gpio/gpio-tc3589x.c +++ b/drivers/gpio/gpio-tc3589x.c @@ -343,7 +343,6 @@ static int tc3589x_gpio_probe(struct platform_device *pdev) static struct platform_driver tc3589x_gpio_driver = { .driver.name = "tc3589x-gpio", - .driver.owner = THIS_MODULE, .probe = tc3589x_gpio_probe, }; |