summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:42 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:42 +0400
commitbbc379834091670d540cae8d7d1e2240b68bb0e8 (patch)
tree97f49be3f605cb5a9a311646f158d1668466586d /drivers
parent3d622e2c587540d5e7d037f9ced6a3d73e4880a7 (diff)
downloadlinux-bbc379834091670d540cae8d7d1e2240b68bb0e8.tar.xz
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/thermal/armada_thermal.c1
-rw-r--r--drivers/thermal/db8500_cpufreq_cooling.c1
-rw-r--r--drivers/thermal/db8500_thermal.c1
-rw-r--r--drivers/thermal/dove_thermal.c1
-rw-r--r--drivers/thermal/imx_thermal.c1
-rw-r--r--drivers/thermal/kirkwood_thermal.c1
-rw-r--r--drivers/thermal/spear_thermal.c1
7 files changed, 0 insertions, 7 deletions
diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c
index 9d1420acb391..eaaf59c98ba2 100644
--- a/drivers/thermal/armada_thermal.c
+++ b/drivers/thermal/armada_thermal.c
@@ -329,7 +329,6 @@ static struct platform_driver armada_thermal_driver = {
.remove = armada_thermal_exit,
.driver = {
.name = "armada_thermal",
- .owner = THIS_MODULE,
.of_match_table = armada_thermal_id_table,
},
};
diff --git a/drivers/thermal/db8500_cpufreq_cooling.c b/drivers/thermal/db8500_cpufreq_cooling.c
index 786d19263ab0..000d53e934a0 100644
--- a/drivers/thermal/db8500_cpufreq_cooling.c
+++ b/drivers/thermal/db8500_cpufreq_cooling.c
@@ -78,7 +78,6 @@ static const struct of_device_id db8500_cpufreq_cooling_match[] = {
static struct platform_driver db8500_cpufreq_cooling_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = "db8500-cpufreq-cooling",
.of_match_table = of_match_ptr(db8500_cpufreq_cooling_match),
},
diff --git a/drivers/thermal/db8500_thermal.c b/drivers/thermal/db8500_thermal.c
index 1e3b3bf9f993..20adfbe27df1 100644
--- a/drivers/thermal/db8500_thermal.c
+++ b/drivers/thermal/db8500_thermal.c
@@ -517,7 +517,6 @@ static const struct of_device_id db8500_thermal_match[] = {
static struct platform_driver db8500_thermal_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = "db8500-thermal",
.of_match_table = of_match_ptr(db8500_thermal_match),
},
diff --git a/drivers/thermal/dove_thermal.c b/drivers/thermal/dove_thermal.c
index 828f5e345c30..09f6e304c274 100644
--- a/drivers/thermal/dove_thermal.c
+++ b/drivers/thermal/dove_thermal.c
@@ -184,7 +184,6 @@ static struct platform_driver dove_thermal_driver = {
.remove = dove_thermal_exit,
.driver = {
.name = "dove_thermal",
- .owner = THIS_MODULE,
.of_match_table = dove_thermal_id_table,
},
};
diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c
index 2c516f2eebed..9f34fdd51250 100644
--- a/drivers/thermal/imx_thermal.c
+++ b/drivers/thermal/imx_thermal.c
@@ -559,7 +559,6 @@ MODULE_DEVICE_TABLE(of, of_imx_thermal_match);
static struct platform_driver imx_thermal = {
.driver = {
.name = "imx_thermal",
- .owner = THIS_MODULE,
.pm = &imx_thermal_pm_ops,
.of_match_table = of_imx_thermal_match,
},
diff --git a/drivers/thermal/kirkwood_thermal.c b/drivers/thermal/kirkwood_thermal.c
index 3b034a0dfc94..11041fe63dc2 100644
--- a/drivers/thermal/kirkwood_thermal.c
+++ b/drivers/thermal/kirkwood_thermal.c
@@ -114,7 +114,6 @@ static struct platform_driver kirkwood_thermal_driver = {
.remove = kirkwood_thermal_exit,
.driver = {
.name = "kirkwood_thermal",
- .owner = THIS_MODULE,
.of_match_table = kirkwood_thermal_id_table,
},
};
diff --git a/drivers/thermal/spear_thermal.c b/drivers/thermal/spear_thermal.c
index 1e2193fc3241..bddb71744a6c 100644
--- a/drivers/thermal/spear_thermal.c
+++ b/drivers/thermal/spear_thermal.c
@@ -186,7 +186,6 @@ static struct platform_driver spear_thermal_driver = {
.remove = spear_thermal_exit,
.driver = {
.name = "spear_thermal",
- .owner = THIS_MODULE,
.pm = &spear_thermal_pm_ops,
.of_match_table = spear_thermal_id_table,
},