From 8e42e211e4fef2b2026c7f99092542f00dd817f3 Mon Sep 17 00:00:00 2001 From: Sachin Kamat Date: Fri, 3 May 2013 14:53:42 +0530 Subject: [PATCH] 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 Signed-off-by: Chris Metcalf --- drivers/edac/tile_edac.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/edac/tile_edac.c b/drivers/edac/tile_edac.c index a0820536b7d9..578f915ee195 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); -- 2.20.1