mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
ARM: mach-msm: 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:
parent
f2633f8a53
commit
a46ca32ca0
@ -169,7 +169,6 @@ static struct platform_driver msm_clock_pcom_driver = {
|
|||||||
.probe = msm_clock_pcom_probe,
|
.probe = msm_clock_pcom_probe,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "msm-clock-pcom",
|
.name = "msm-clock-pcom",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
module_platform_driver(msm_clock_pcom_driver);
|
module_platform_driver(msm_clock_pcom_driver);
|
||||||
|
@ -1019,7 +1019,6 @@ static struct platform_driver msm_smd_driver = {
|
|||||||
.probe = msm_smd_probe,
|
.probe = msm_smd_probe,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = MODULE_NAME,
|
.name = MODULE_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user