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
@@ -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,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user