mirror of https://gitee.com/openkylin/linux.git
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,
|
||||
.driver = {
|
||||
.name = "msm-clock-pcom",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
module_platform_driver(msm_clock_pcom_driver);
|
||||
|
|
|
@ -1019,7 +1019,6 @@ static struct platform_driver msm_smd_driver = {
|
|||
.probe = msm_smd_probe,
|
||||
.driver = {
|
||||
.name = MODULE_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue