aboutsummaryrefslogtreecommitdiff
path: root/drivers/edac
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-03 14:53:42 +0530
committerChris Metcalf <cmetcalf@tilera.com>2013-07-17 12:49:55 -0400
commit8e42e211e4fef2b2026c7f99092542f00dd817f3 (patch)
treed5353a133576a93886079ac800ad5311f320ba59 /drivers/edac
parentcf3a13d790f9760c4bfcae802aaba80efb3519af (diff)
edac: 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> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/tile_edac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/edac/tile_edac.c b/drivers/edac/tile_edac.c
index a0820536b7d..578f915ee19 100644
--- 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);