projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a456cf
)
Thermal: dove_thermal: Remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 3 May 2013 09:57:09 +0000
(09:57 +0000)
committer
Zhang Rui
<rui.zhang@intel.com>
Mon, 6 May 2013 14:37:00 +0000
(22:37 +0800)
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>
drivers/thermal/dove_thermal.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/thermal/dove_thermal.c
b/drivers/thermal/dove_thermal.c
index 4b15a5f270dc71a021bde1b6e96e8656720d45bc..900479e69ccb48dda9af8dd62f2d982cae528f33 100644
(file)
--- a/
drivers/thermal/dove_thermal.c
+++ b/
drivers/thermal/dove_thermal.c
@@
-182,7
+182,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;
}
This page took
0.025088 seconds
and
5
git commands to generate.