From 2ec64c9d0d5f6a4fd17dce4fa6645d98b8be0849 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Mon, 23 May 2016 10:49:10 +0900 Subject: 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 Acked-by: Charles Keepax Signed-off-by: Linus Walleij --- drivers/gpio/gpio-tc3589x.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/gpio/gpio-tc3589x.c') 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, }; -- cgit v1.2.3