mirror of https://gitee.com/openkylin/linux.git
drivers/macintosh: Delete owner assignment
The field "owner" is set by core. Thus delete an extra initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
e340eca90e
commit
aded76bac5
|
@ -73,7 +73,6 @@ MODULE_DEVICE_TABLE(i2c, ams_id);
|
||||||
static struct i2c_driver ams_i2c_driver = {
|
static struct i2c_driver ams_i2c_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "ams",
|
.name = "ams",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
.probe = ams_i2c_probe,
|
.probe = ams_i2c_probe,
|
||||||
.remove = ams_i2c_remove,
|
.remove = ams_i2c_remove,
|
||||||
|
|
|
@ -668,7 +668,6 @@ static struct platform_driver wf_pm112_driver = {
|
||||||
.remove = wf_pm112_remove,
|
.remove = wf_pm112_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "windfarm",
|
.name = "windfarm",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -789,7 +789,6 @@ static struct platform_driver wf_pm72_driver = {
|
||||||
.remove = wf_pm72_remove,
|
.remove = wf_pm72_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "windfarm",
|
.name = "windfarm",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -682,7 +682,6 @@ static struct platform_driver wf_rm31_driver = {
|
||||||
.remove = wf_rm31_remove,
|
.remove = wf_rm31_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "windfarm",
|
.name = "windfarm",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue