From: Sachin Kamat Date: Fri, 20 Sep 2013 06:32:16 +0000 (+0530) Subject: video: cg14: Remove redundant dev_set_drvdata X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b3a4f58dbdcf51587d6a5429066a8d2e7582380d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git video: cg14: 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/cg14.c b/drivers/video/cg14.c index ed3b8891e006..9626488a69c5 100644 --- a/drivers/video/cg14.c +++ b/drivers/video/cg14.c @@ -583,8 +583,6 @@ static int cg14_remove(struct platform_device *op) framebuffer_release(info); - dev_set_drvdata(&op->dev, NULL); - return 0; }