diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-03 05:57:08 -0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-05-06 10:36:55 -0400 |
commit | 2a456cfbdbcdf8a6a9e041f256f7e859a271a301 (patch) | |
tree | 5201d1ee43273b9ccd686faf494a739ae722c494 /drivers/thermal | |
parent | de6558dc964f6a3243218f17d8032ad810864e2b (diff) |
Thermal: armada_thermal: Remove redundant platform_set_drvdata()
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Acked-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r-- | drivers/thermal/armada_thermal.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c index 5b4d75fd7b49..0d02d4edeecb 100644 --- a/drivers/thermal/armada_thermal.c +++ b/drivers/thermal/armada_thermal.c | |||
@@ -210,7 +210,6 @@ static int armada_thermal_exit(struct platform_device *pdev) | |||
210 | platform_get_drvdata(pdev); | 210 | platform_get_drvdata(pdev); |
211 | 211 | ||
212 | thermal_zone_device_unregister(armada_thermal); | 212 | thermal_zone_device_unregister(armada_thermal); |
213 | platform_set_drvdata(pdev, NULL); | ||
214 | 213 | ||
215 | return 0; | 214 | return 0; |
216 | } | 215 | } |