diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:43 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:43 -0400 |
commit | 4b6d6c6785b33dabeee69cab1c04954e584ab84c (patch) | |
tree | 31cd9c28776fe29f28376d242a339e51a8c0e823 /drivers/thermal/st | |
parent | 32d3c299c567b3114152a5ca777a2c91523f4d8c (diff) |
thermal: st: 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/thermal/st')
-rw-r--r-- | drivers/thermal/st/st_thermal_memmap.c | 1 | ||||
-rw-r--r-- | drivers/thermal/st/st_thermal_syscfg.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/thermal/st/st_thermal_memmap.c b/drivers/thermal/st/st_thermal_memmap.c index 39896ce2ee00..067bfcdb91d6 100644 --- a/drivers/thermal/st/st_thermal_memmap.c +++ b/drivers/thermal/st/st_thermal_memmap.c | |||
@@ -194,7 +194,6 @@ int st_mmap_remove(struct platform_device *pdev) | |||
194 | static struct platform_driver st_mmap_thermal_driver = { | 194 | static struct platform_driver st_mmap_thermal_driver = { |
195 | .driver = { | 195 | .driver = { |
196 | .name = "st_thermal_mmap", | 196 | .name = "st_thermal_mmap", |
197 | .owner = THIS_MODULE, | ||
198 | .pm = &st_thermal_pm_ops, | 197 | .pm = &st_thermal_pm_ops, |
199 | .of_match_table = st_mmap_thermal_of_match, | 198 | .of_match_table = st_mmap_thermal_of_match, |
200 | }, | 199 | }, |
diff --git a/drivers/thermal/st/st_thermal_syscfg.c b/drivers/thermal/st/st_thermal_syscfg.c index 888b58e64090..26d36a242bb8 100644 --- a/drivers/thermal/st/st_thermal_syscfg.c +++ b/drivers/thermal/st/st_thermal_syscfg.c | |||
@@ -165,7 +165,6 @@ int st_syscfg_remove(struct platform_device *pdev) | |||
165 | static struct platform_driver st_syscfg_thermal_driver = { | 165 | static struct platform_driver st_syscfg_thermal_driver = { |
166 | .driver = { | 166 | .driver = { |
167 | .name = "st_syscfg_thermal", | 167 | .name = "st_syscfg_thermal", |
168 | .owner = THIS_MODULE, | ||
169 | .pm = &st_thermal_pm_ops, | 168 | .pm = &st_thermal_pm_ops, |
170 | .of_match_table = st_syscfg_thermal_of_match, | 169 | .of_match_table = st_syscfg_thermal_of_match, |
171 | }, | 170 | }, |