diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-20 08:32:16 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-26 12:49:23 +0200 |
commit | b3a4f58dbdcf51587d6a5429066a8d2e7582380d (patch) | |
tree | 06c148ae0c9d0bdd033a89cba7f923e97569a4a9 | |
parent | video: bw2: Remove redundant dev_set_drvdata (diff) | |
download | linux-b3a4f58dbdcf51587d6a5429066a8d2e7582380d.tar.xz linux-b3a4f58dbdcf51587d6a5429066a8d2e7582380d.zip |
video: cg14: Remove redundant dev_set_drvdata
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>
-rw-r--r-- | drivers/video/cg14.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; } |