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>
This commit is contained in:

committed by
Linus Walleij

parent
602cf63875
commit
2ec64c9d0d
@@ -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,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user