kernel: update 3.18 to 3.18.14
[openwrt.git] / target / linux / mvebu / patches-3.18 / 199-gpio_mvebu_drop_owner.patch
1 A platform_driver does not need to set an owner, it will be populated by the
2 driver core.
3
4 Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
5
6 --- a/drivers/gpio/gpio-mvebu.c
7 +++ b/drivers/gpio/gpio-mvebu.c
8 @@ -836,7 +836,6 @@ static int mvebu_gpio_probe(struct platf
9  static struct platform_driver mvebu_gpio_driver = {
10         .driver         = {
11                 .name           = "mvebu-gpio",
12 -               .owner          = THIS_MODULE,
13                 .of_match_table = mvebu_gpio_of_match,
14         },
15         .probe          = mvebu_gpio_probe,