DORMANTno replies

[PATCH 12/15] video: platinumfb: Remove redundant dev_set_drvdata

From: Sachin Kamat <hidden>
Date: 2013-09-20 06:44:21
Subsystem: framebuffer layer, the rest · Maintainers: Helge Deller, Linus Torvalds

Driver core sets driver data to NULL upon failure or remove.

Signed-off-by: Sachin Kamat <redacted>
---
 drivers/video/platinumfb.c |    1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/video/platinumfb.c b/drivers/video/platinumfb.c
index 3d86bac..b644037 100644
--- a/drivers/video/platinumfb.c
+++ b/drivers/video/platinumfb.c
@@ -639,7 +639,6 @@ static int platinumfb_probe(struct platform_device* odev)
 		iounmap(pinfo->frame_buffer);
 		iounmap(pinfo->platinum_regs);
 		iounmap(pinfo->cmap_regs);
-		dev_set_drvdata(&odev->dev, NULL);
 		framebuffer_release(info);
 	}
 
-- 
1.7.9.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help