diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-20 02:32:15 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-26 06:49:22 -0400 |
commit | 5fb4baeab614a97d656d1049829a05cc4ae95875 (patch) | |
tree | cb4def61682163e6e23e4e196a75816e18d7bb80 /drivers/video/bw2.c | |
parent | bc4626fc87dcc53fc4e0880f818eb269326ac4fb (diff) |
video: bw2: 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>
Diffstat (limited to 'drivers/video/bw2.c')
-rw-r--r-- | drivers/video/bw2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/bw2.c b/drivers/video/bw2.c index 60017fc634b5..bc123d6947a4 100644 --- a/drivers/video/bw2.c +++ b/drivers/video/bw2.c | |||
@@ -363,8 +363,6 @@ static int bw2_remove(struct platform_device *op) | |||
363 | 363 | ||
364 | framebuffer_release(info); | 364 | framebuffer_release(info); |
365 | 365 | ||
366 | dev_set_drvdata(&op->dev, NULL); | ||
367 | |||
368 | return 0; | 366 | return 0; |
369 | } | 367 | } |
370 | 368 | ||