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>
This commit is contained in:
parent
391962f618
commit
cacb413617
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue