mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
This commit is contained in:
parent
e340eca90e
commit
aded76bac5
4 changed files with 0 additions and 4 deletions
|
|
@ -73,7 +73,6 @@ MODULE_DEVICE_TABLE(i2c, ams_id);
|
|||
static struct i2c_driver ams_i2c_driver = {
|
||||
.driver = {
|
||||
.name = "ams",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ams_i2c_probe,
|
||||
.remove = ams_i2c_remove,
|
||||
|
|
|
|||
|
|
@ -668,7 +668,6 @@ static struct platform_driver wf_pm112_driver = {
|
|||
.remove = wf_pm112_remove,
|
||||
.driver = {
|
||||
.name = "windfarm",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -789,7 +789,6 @@ static struct platform_driver wf_pm72_driver = {
|
|||
.remove = wf_pm72_remove,
|
||||
.driver = {
|
||||
.name = "windfarm",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -682,7 +682,6 @@ static struct platform_driver wf_rm31_driver = {
|
|||
.remove = wf_rm31_remove,
|
||||
.driver = {
|
||||
.name = "windfarm",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue