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