mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
16 lines
476 B
Diff
16 lines
476 B
Diff
|
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,
|