mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
watchdog: drop owner assignment from platform_drivers
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>
This commit is contained in:
@@ -294,7 +294,6 @@ static struct platform_driver acquirewdt_driver = {
|
||||
.remove = acq_remove,
|
||||
.shutdown = acq_shutdown,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = DRV_NAME,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -302,7 +302,6 @@ static struct platform_driver advwdt_driver = {
|
||||
.remove = advwdt_remove,
|
||||
.shutdown = advwdt_shutdown,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = DRV_NAME,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -324,7 +324,6 @@ static struct platform_driver ar7_wdt_driver = {
|
||||
.remove = ar7_wdt_remove,
|
||||
.shutdown = ar7_wdt_shutdown,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "ar7_wdt",
|
||||
},
|
||||
};
|
||||
|
||||
@@ -422,7 +422,6 @@ static struct platform_driver at32_wdt_driver = {
|
||||
.resume = at32_wdt_resume,
|
||||
.driver = {
|
||||
.name = "at32_wdt",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.shutdown = at32_wdt_shutdown,
|
||||
};
|
||||
|
||||
@@ -268,7 +268,6 @@ static struct platform_driver at91wdt_driver = {
|
||||
.resume = at91wdt_resume,
|
||||
.driver = {
|
||||
.name = "at91_wdt",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = at91_wdt_dt_ids,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -393,7 +393,6 @@ static struct platform_driver at91wdt_driver = {
|
||||
.remove = __exit_p(at91wdt_remove),
|
||||
.driver = {
|
||||
.name = "at91_wdt",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(at91_wdt_dt_ids),
|
||||
},
|
||||
};
|
||||
|
||||
@@ -326,7 +326,6 @@ static struct platform_driver ath79_wdt_driver = {
|
||||
.shutdown = ath97_wdt_shutdown,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(ath79_wdt_match),
|
||||
},
|
||||
};
|
||||
|
||||
@@ -167,7 +167,6 @@ static struct platform_driver bcm2835_wdt_driver = {
|
||||
.shutdown = bcm2835_wdt_shutdown,
|
||||
.driver = {
|
||||
.name = "bcm2835-wdt",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = bcm2835_wdt_of_match,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -242,7 +242,6 @@ static int bcm47xx_wdt_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver bcm47xx_wdt_driver = {
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "bcm47xx-wdt",
|
||||
},
|
||||
.probe = bcm47xx_wdt_probe,
|
||||
|
||||
@@ -304,7 +304,6 @@ static struct platform_driver bcm63xx_wdt_driver = {
|
||||
.remove = bcm63xx_wdt_remove,
|
||||
.shutdown = bcm63xx_wdt_shutdown,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "bcm63xx-wdt",
|
||||
}
|
||||
};
|
||||
|
||||
@@ -352,7 +352,6 @@ MODULE_DEVICE_TABLE(of, bcm_kona_wdt_of_match);
|
||||
static struct platform_driver bcm_kona_wdt_driver = {
|
||||
.driver = {
|
||||
.name = BCM_KONA_WDT_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = bcm_kona_wdt_of_match,
|
||||
},
|
||||
.probe = bcm_kona_wdt_probe,
|
||||
|
||||
@@ -407,7 +407,6 @@ static struct platform_driver bfin_wdt_driver = {
|
||||
.resume = bfin_wdt_resume,
|
||||
.driver = {
|
||||
.name = WATCHDOG_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -448,7 +448,6 @@ static const struct of_device_id coh901327_dt_match[] = {
|
||||
|
||||
static struct platform_driver coh901327_driver = {
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "coh901327_wdog",
|
||||
.of_match_table = coh901327_dt_match,
|
||||
},
|
||||
|
||||
@@ -679,7 +679,6 @@ MODULE_DEVICE_TABLE(of, cpwd_match);
|
||||
static struct platform_driver cpwd_driver = {
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = cpwd_match,
|
||||
},
|
||||
.probe = cpwd_probe,
|
||||
|
||||
@@ -218,7 +218,6 @@ MODULE_DEVICE_TABLE(of, davinci_wdt_of_match);
|
||||
static struct platform_driver platform_wdt_driver = {
|
||||
.driver = {
|
||||
.name = "davinci-wdt",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = davinci_wdt_of_match,
|
||||
},
|
||||
.probe = davinci_wdt_probe,
|
||||
|
||||
@@ -348,7 +348,6 @@ static struct platform_driver dw_wdt_driver = {
|
||||
.remove = dw_wdt_drv_remove,
|
||||
.driver = {
|
||||
.name = "dw_wdt",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(dw_wdt_of_match),
|
||||
.pm = &dw_wdt_pm_ops,
|
||||
},
|
||||
|
||||
@@ -156,7 +156,6 @@ static int ep93xx_wdt_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver ep93xx_wdt_driver = {
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "ep93xx-wdt",
|
||||
},
|
||||
.probe = ep93xx_wdt_probe,
|
||||
|
||||
@@ -307,7 +307,6 @@ static const struct of_device_id gef_wdt_ids[] = {
|
||||
static struct platform_driver gef_wdt_driver = {
|
||||
.driver = {
|
||||
.name = "gef_wdt",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = gef_wdt_ids,
|
||||
},
|
||||
.probe = gef_wdt_probe,
|
||||
|
||||
@@ -258,7 +258,6 @@ static struct platform_driver geodewdt_driver = {
|
||||
.remove = geodewdt_remove,
|
||||
.shutdown = geodewdt_shutdown,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = DRV_NAME,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -241,7 +241,6 @@ MODULE_DEVICE_TABLE(of, gpio_wdt_dt_ids);
|
||||
static struct platform_driver gpio_wdt_driver = {
|
||||
.driver = {
|
||||
.name = "gpio-wdt",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = gpio_wdt_dt_ids,
|
||||
},
|
||||
.probe = gpio_wdt_probe,
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user