mirror of https://gitee.com/openkylin/linux.git
ARM: mach-davinci: 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
d155fc759a
commit
7246c72de2
|
@ -92,7 +92,6 @@ static int __init davinci_cpuidle_probe(struct platform_device *pdev)
|
|||
static struct platform_driver davinci_cpuidle_driver = {
|
||||
.driver = {
|
||||
.name = "cpuidle-davinci",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -148,7 +148,6 @@ static int __exit davinci_pm_remove(struct platform_device *pdev)
|
|||
static struct platform_driver davinci_pm_driver = {
|
||||
.driver = {
|
||||
.name = "pm-davinci",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.remove = __exit_p(davinci_pm_remove),
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue