summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-wm8350.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-wm8350.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-wm8350.c')
-rw-r--r--drivers/gpio/gpio-wm8350.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-wm8350.c b/drivers/gpio/gpio-wm8350.c
index 07d45a3b205a..e9765707d5c1 100644
--- a/drivers/gpio/gpio-wm8350.c
+++ b/drivers/gpio/gpio-wm8350.c
@@ -139,7 +139,6 @@ static int wm8350_gpio_probe(struct platform_device *pdev)
static struct platform_driver wm8350_gpio_driver = {
.driver.name = "wm8350-gpio",
- .driver.owner = THIS_MODULE,
.probe = wm8350_gpio_probe,
};