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
@@ -296,7 +296,6 @@ static int sch311x_gpio_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver sch311x_gpio_driver = {
|
||||
.driver.name = DRV_NAME,
|
||||
.driver.owner = THIS_MODULE,
|
||||
.probe = sch311x_gpio_probe,
|
||||
.remove = sch311x_gpio_remove,
|
||||
};
|
||||
|
Reference in New Issue
Block a user