Skip to content

Commit

Permalink
video: platinumfb: Remove redundant dev_set_drvdata
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Tomi Valkeinen committed Sep 26, 2013
1 parent 391962f commit cacb413
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/video/platinumfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit cacb413

Please sign in to comment.