projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf3a13d
)
edac: Remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 3 May 2013 09:23:42 +0000
(14:53 +0530)
committer
Chris Metcalf
<cmetcalf@tilera.com>
Wed, 17 Jul 2013 16:49:55 +0000
(12:49 -0400)
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>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
drivers/edac/tile_edac.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/edac/tile_edac.c
b/drivers/edac/tile_edac.c
index a0820536b7d9d8edf0905ed04bf913d6fb6f21db..578f915ee195576260266126fd1ff4bba00858f8 100644
(file)
--- a/
drivers/edac/tile_edac.c
+++ b/
drivers/edac/tile_edac.c
@@
-257,7
+257,6
@@
static void __exit tile_edac_exit(void)
if (!pdev)
continue;
- platform_set_drvdata(pdev, NULL);
platform_device_unregister(pdev);
}
platform_driver_unregister(&tile_edac_mc_driver);