cpufreq: 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:
@@ -351,7 +351,6 @@ static int dt_cpufreq_remove(struct platform_device *pdev)
|
||||
static struct platform_driver dt_cpufreq_platdrv = {
|
||||
.driver = {
|
||||
.name = "cpufreq-dt",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = dt_cpufreq_probe,
|
||||
.remove = dt_cpufreq_remove,
|
||||
|
Reference in New Issue
Block a user