summaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-03 09:57:08 +0000
committerZhang Rui <rui.zhang@intel.com>2013-05-06 22:36:55 +0800
commit2a456cfbdbcdf8a6a9e041f256f7e859a271a301 (patch)
tree5201d1ee43273b9ccd686faf494a739ae722c494 /drivers/thermal
parentde6558dc964f6a3243218f17d8032ad810864e2b (diff)
downloadtalos-obmc-linux-2a456cfbdbcdf8a6a9e041f256f7e859a271a301.tar.gz
talos-obmc-linux-2a456cfbdbcdf8a6a9e041f256f7e859a271a301.zip
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.c1
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)
platform_get_drvdata(pdev);
thermal_zone_device_unregister(armada_thermal);
- platform_set_drvdata(pdev, NULL);
return 0;
}
OpenPOWER on IntegriCloud