diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2015-03-02 11:54:07 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-03-03 11:21:41 -0300 |
commit | c3718de559294649fc20dbd28b0db04dbf24e857 (patch) | |
tree | 738d57fd24685b3f48e7744907e9b53a920e42d4 /drivers/media/i2c/tvp514x.c | |
parent | 1fe0fbd69aa316c1846d58857756652134fc5311 (diff) | |
download | blackbird-obmc-linux-c3718de559294649fc20dbd28b0db04dbf24e857.tar.gz blackbird-obmc-linux-c3718de559294649fc20dbd28b0db04dbf24e857.zip |
[media] media: drop call to v4l2_device_unregister_subdev()
These drivers are moved to support asynchronous probing,
v4l2_async_unregister_subdev() unregisters the subdev so
there isn't a need to explicitly call v4l2_device_unregister_subdev().
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/i2c/tvp514x.c')
-rw-r--r-- | drivers/media/i2c/tvp514x.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/i2c/tvp514x.c b/drivers/media/i2c/tvp514x.c index 204204259ac6..c6b3dc541cc2 100644 --- a/drivers/media/i2c/tvp514x.c +++ b/drivers/media/i2c/tvp514x.c @@ -1209,7 +1209,6 @@ static int tvp514x_remove(struct i2c_client *client) struct tvp514x_decoder *decoder = to_decoder(sd); v4l2_async_unregister_subdev(&decoder->sd); - v4l2_device_unregister_subdev(sd); #if defined(CONFIG_MEDIA_CONTROLLER) media_entity_cleanup(&decoder->sd.entity); #endif |