diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-12-21 16:14:40 -0500 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2014-12-21 22:06:42 -0500 |
commit | 0716b0ff0a11ca96e925bfac43a82eb88f75c928 (patch) | |
tree | 1128e2731f983dbc83a8e00f63bc75eff8863419 /drivers | |
parent | 7b09406390e76df97c9f5f29c23a4f56d982f22c (diff) |
thermal: int340x_thermal: drop owner assignment from platform_drivers
This 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>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/thermal/int340x_thermal/int3400_thermal.c | 1 | ||||
-rw-r--r-- | drivers/thermal/int340x_thermal/int3402_thermal.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/thermal/int340x_thermal/int3400_thermal.c b/drivers/thermal/int340x_thermal/int3400_thermal.c index dcb306ea14a4..65a98a97df07 100644 --- a/drivers/thermal/int340x_thermal/int3400_thermal.c +++ b/drivers/thermal/int340x_thermal/int3400_thermal.c | |||
@@ -335,7 +335,6 @@ static struct platform_driver int3400_thermal_driver = { | |||
335 | .remove = int3400_thermal_remove, | 335 | .remove = int3400_thermal_remove, |
336 | .driver = { | 336 | .driver = { |
337 | .name = "int3400 thermal", | 337 | .name = "int3400 thermal", |
338 | .owner = THIS_MODULE, | ||
339 | .acpi_match_table = ACPI_PTR(int3400_thermal_match), | 338 | .acpi_match_table = ACPI_PTR(int3400_thermal_match), |
340 | }, | 339 | }, |
341 | }; | 340 | }; |
diff --git a/drivers/thermal/int340x_thermal/int3402_thermal.c b/drivers/thermal/int340x_thermal/int3402_thermal.c index a5d08c14ba24..c5cbc3af3a05 100644 --- a/drivers/thermal/int340x_thermal/int3402_thermal.c +++ b/drivers/thermal/int340x_thermal/int3402_thermal.c | |||
@@ -231,7 +231,6 @@ static struct platform_driver int3402_thermal_driver = { | |||
231 | .remove = int3402_thermal_remove, | 231 | .remove = int3402_thermal_remove, |
232 | .driver = { | 232 | .driver = { |
233 | .name = "int3402 thermal", | 233 | .name = "int3402 thermal", |
234 | .owner = THIS_MODULE, | ||
235 | .acpi_match_table = int3402_thermal_match, | 234 | .acpi_match_table = int3402_thermal_match, |
236 | }, | 235 | }, |
237 | }; | 236 | }; |