misc: 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:
@@ -375,7 +375,6 @@ static const struct of_device_id charlcd_match[] = {
|
|||||||
static struct platform_driver charlcd_driver = {
|
static struct platform_driver charlcd_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRIVERNAME,
|
.name = DRIVERNAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &charlcd_pm_ops,
|
.pm = &charlcd_pm_ops,
|
||||||
.of_match_table = of_match_ptr(charlcd_match),
|
.of_match_table = of_match_ptr(charlcd_match),
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -220,7 +220,6 @@ static int ssc_remove(struct platform_device *pdev)
|
|||||||
static struct platform_driver ssc_driver = {
|
static struct platform_driver ssc_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "ssc",
|
.name = "ssc",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = of_match_ptr(atmel_ssc_dt_ids),
|
.of_match_table = of_match_ptr(atmel_ssc_dt_ids),
|
||||||
},
|
},
|
||||||
.id_table = atmel_ssc_devtypes,
|
.id_table = atmel_ssc_devtypes,
|
||||||
|
|||||||
@@ -365,7 +365,6 @@ static int cs5535_mfgpt_probe(struct platform_device *pdev)
|
|||||||
static struct platform_driver cs5535_mfgpt_driver = {
|
static struct platform_driver cs5535_mfgpt_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRV_NAME,
|
.name = DRV_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
.probe = cs5535_mfgpt_probe,
|
.probe = cs5535_mfgpt_probe,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user