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