thermal: 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
3d622e2c58
commit
bbc3798340
7 changed files with 0 additions and 7 deletions
|
@ -329,7 +329,6 @@ static struct platform_driver armada_thermal_driver = {
|
||||||
.remove = armada_thermal_exit,
|
.remove = armada_thermal_exit,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "armada_thermal",
|
.name = "armada_thermal",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = armada_thermal_id_table,
|
.of_match_table = armada_thermal_id_table,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -78,7 +78,6 @@ static const struct of_device_id db8500_cpufreq_cooling_match[] = {
|
||||||
|
|
||||||
static struct platform_driver db8500_cpufreq_cooling_driver = {
|
static struct platform_driver db8500_cpufreq_cooling_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.name = "db8500-cpufreq-cooling",
|
.name = "db8500-cpufreq-cooling",
|
||||||
.of_match_table = of_match_ptr(db8500_cpufreq_cooling_match),
|
.of_match_table = of_match_ptr(db8500_cpufreq_cooling_match),
|
||||||
},
|
},
|
||||||
|
|
|
@ -517,7 +517,6 @@ static const struct of_device_id db8500_thermal_match[] = {
|
||||||
|
|
||||||
static struct platform_driver db8500_thermal_driver = {
|
static struct platform_driver db8500_thermal_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.name = "db8500-thermal",
|
.name = "db8500-thermal",
|
||||||
.of_match_table = of_match_ptr(db8500_thermal_match),
|
.of_match_table = of_match_ptr(db8500_thermal_match),
|
||||||
},
|
},
|
||||||
|
|
|
@ -184,7 +184,6 @@ static struct platform_driver dove_thermal_driver = {
|
||||||
.remove = dove_thermal_exit,
|
.remove = dove_thermal_exit,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "dove_thermal",
|
.name = "dove_thermal",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = dove_thermal_id_table,
|
.of_match_table = dove_thermal_id_table,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -559,7 +559,6 @@ MODULE_DEVICE_TABLE(of, of_imx_thermal_match);
|
||||||
static struct platform_driver imx_thermal = {
|
static struct platform_driver imx_thermal = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "imx_thermal",
|
.name = "imx_thermal",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &imx_thermal_pm_ops,
|
.pm = &imx_thermal_pm_ops,
|
||||||
.of_match_table = of_imx_thermal_match,
|
.of_match_table = of_imx_thermal_match,
|
||||||
},
|
},
|
||||||
|
|
|
@ -114,7 +114,6 @@ static struct platform_driver kirkwood_thermal_driver = {
|
||||||
.remove = kirkwood_thermal_exit,
|
.remove = kirkwood_thermal_exit,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "kirkwood_thermal",
|
.name = "kirkwood_thermal",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = kirkwood_thermal_id_table,
|
.of_match_table = kirkwood_thermal_id_table,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -186,7 +186,6 @@ static struct platform_driver spear_thermal_driver = {
|
||||||
.remove = spear_thermal_exit,
|
.remove = spear_thermal_exit,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "spear_thermal",
|
.name = "spear_thermal",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &spear_thermal_pm_ops,
|
.pm = &spear_thermal_pm_ops,
|
||||||
.of_match_table = spear_thermal_id_table,
|
.of_match_table = spear_thermal_id_table,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue