aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-3.18/199-gpio_mvebu_drop_owner.patch
blob: c52e85e76299c2c14a6878b23f926e3c9695ac88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

--- a/drivers/gpio/gpio-mvebu.c
+++ b/drivers/gpio/gpio-mvebu.c
@@ -828,7 +828,6 @@ static int mvebu_gpio_probe(struct platf
 static struct platform_driver mvebu_gpio_driver = {
 	.driver		= {
 		.name	        = "mvebu-gpio",
-		.owner	        = THIS_MODULE,
 		.of_match_table = mvebu_gpio_of_match,
 	},
 	.probe		= mvebu_gpio_probe,