diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-20 12:02:15 +0530 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-26 13:49:22 +0300 |
commit | 5fb4baeab614a97d656d1049829a05cc4ae95875 (patch) | |
tree | cb4def61682163e6e23e4e196a75816e18d7bb80 /drivers/video | |
parent | bc4626fc87dcc53fc4e0880f818eb269326ac4fb (diff) | |
download | linux-5fb4baeab614a97d656d1049829a05cc4ae95875.tar.gz linux-5fb4baeab614a97d656d1049829a05cc4ae95875.tar.bz2 linux-5fb4baeab614a97d656d1049829a05cc4ae95875.zip |
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')
-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) framebuffer_release(info); - dev_set_drvdata(&op->dev, NULL); - return 0; } |