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
@@ -187,7 +187,6 @@ MODULE_DEVICE_TABLE(mcb, men_z127_ids);
|
||||
static struct mcb_driver men_z127_driver = {
|
||||
.driver = {
|
||||
.name = "z127-gpio",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = men_z127_probe,
|
||||
.remove = men_z127_remove,
|
||||
|
Reference in New Issue
Block a user