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-tps6586x.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/gpio/gpio-tps6586x.c') diff --git a/drivers/gpio/gpio-tps6586x.c b/drivers/gpio/gpio-tps6586x.c index 6b15e68a314f..042b9a20781a 100644 --- a/drivers/gpio/gpio-tps6586x.c +++ b/drivers/gpio/gpio-tps6586x.c @@ -131,7 +131,6 @@ static int tps6586x_gpio_probe(struct platform_device *pdev) static struct platform_driver tps6586x_gpio_driver = { .driver.name = "tps6586x-gpio", - .driver.owner = THIS_MODULE, .probe = tps6586x_gpio_probe, }; -- cgit v1.2.3