diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-03 11:57:08 +0200 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-05-06 16:36:55 +0200 |
commit | 2a456cfbdbcdf8a6a9e041f256f7e859a271a301 (patch) | |
tree | 5201d1ee43273b9ccd686faf494a739ae722c494 /drivers/thermal | |
parent | Merge branch 'MAINTAINERS-update' of .git into next (diff) | |
download | linux-2a456cfbdbcdf8a6a9e041f256f7e859a271a301.tar.xz 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.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) platform_get_drvdata(pdev); thermal_zone_device_unregister(armada_thermal); - platform_set_drvdata(pdev, NULL); return 0; } |