summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-20 08:32:21 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-26 12:49:25 +0200
commitcacb41361708ddf4c8cb8995c9f35f24ce28620f (patch)
tree7b9a60d078f74f17bbec340fe40efb5a8788ab17
parentvideo: p9100: Remove redundant dev_set_drvdata (diff)
downloadlinux-cacb41361708ddf4c8cb8995c9f35f24ce28620f.tar.xz
linux-cacb41361708ddf4c8cb8995c9f35f24ce28620f.zip
video: platinumfb: Remove redundant dev_set_drvdata
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r--drivers/video/platinumfb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/platinumfb.c b/drivers/video/platinumfb.c
index 3d86bac62d3e..b644037dd5bc 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);
}