diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-20 10:32:21 +0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-26 14:49:25 +0400 |
commit | cacb41361708ddf4c8cb8995c9f35f24ce28620f (patch) | |
tree | 7b9a60d078f74f17bbec340fe40efb5a8788ab17 /drivers/video/platinumfb.c | |
parent | 391962f6188849917028debfd6e5bd3a3bdf0f49 (diff) | |
download | linux-cacb41361708ddf4c8cb8995c9f35f24ce28620f.tar.xz |
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>
Diffstat (limited to 'drivers/video/platinumfb.c')
-rw-r--r-- | drivers/video/platinumfb.c | 1 |
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); } |