From b3a4f58dbdcf51587d6a5429066a8d2e7582380d Mon Sep 17 00:00:00 2001 From: Sachin Kamat Date: Fri, 20 Sep 2013 12:02:16 +0530 Subject: 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 --- drivers/video/cg14.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/video/cg14.c') 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; } -- cgit v1.2.3