From: Sachin Kamat Date: Fri, 20 Sep 2013 06:32:21 +0000 (+0530) Subject: video: platinumfb: Remove redundant dev_set_drvdata X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cacb41361708ddf4c8cb8995c9f35f24ce28620f;p=linux-beck.git video: platinumfb: Remove redundant dev_set_drvdata Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat Signed-off-by: Tomi Valkeinen --- 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); }