diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-03 09:57:09 +0000 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:45:05 +0900 |
commit | daa68a5f1e9efb5ef5c6e3c7616038d740c21bad (patch) | |
tree | 736549fbb2e40ef6d1a22124566e1b44c1440f52 /drivers/thermal/dove_thermal.c | |
parent | 714020697bc64da72fe53f0a84f7385fc0268cbb (diff) | |
download | linux-3.10-daa68a5f1e9efb5ef5c6e3c7616038d740c21bad.tar.gz linux-3.10-daa68a5f1e9efb5ef5c6e3c7616038d740c21bad.tar.bz2 linux-3.10-daa68a5f1e9efb5ef5c6e3c7616038d740c21bad.zip |
Thermal: dove_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: Andrew Lunn <andrew@lunn.ch>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/dove_thermal.c')
-rw-r--r-- | drivers/thermal/dove_thermal.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/thermal/dove_thermal.c b/drivers/thermal/dove_thermal.c index a088d1365ca..954d2698b62 100644 --- a/drivers/thermal/dove_thermal.c +++ b/drivers/thermal/dove_thermal.c @@ -178,7 +178,6 @@ static int dove_thermal_exit(struct platform_device *pdev) platform_get_drvdata(pdev); thermal_zone_device_unregister(dove_thermal); - platform_set_drvdata(pdev, NULL); return 0; } |