diff options
author | Ian Molton <ian.molton@codethink.co.uk> | 2014-07-05 19:26:20 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-21 19:30:48 -0300 |
commit | 632f2b0db9dabbaa5835b50a75a3a1639d6f6f38 (patch) | |
tree | fee85b9691b4fdba648d8aa1e14af2fe7aaae21f /drivers/media/i2c/adv7180.c | |
parent | f8600689de949f79309221be2bca36b4d2b953d1 (diff) | |
download | linux-632f2b0db9dabbaa5835b50a75a3a1639d6f6f38.tar.gz linux-632f2b0db9dabbaa5835b50a75a3a1639d6f6f38.tar.bz2 linux-632f2b0db9dabbaa5835b50a75a3a1639d6f6f38.zip |
[media] adv7180: Remove duplicate unregister call
This driver moved over to v4l2_async_unregister_subdev()
but still retained a call to v4l2_unregister_subdev(). Remove.
Signed-off-by: Ian Molton <ian.molton@codethink.co.uk>
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/i2c/adv7180.c')
-rw-r--r-- | drivers/media/i2c/adv7180.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c index ac1cdbe251a3..821178dcb08e 100644 --- a/drivers/media/i2c/adv7180.c +++ b/drivers/media/i2c/adv7180.c @@ -663,7 +663,6 @@ static int adv7180_remove(struct i2c_client *client) if (state->irq > 0) free_irq(client->irq, state); - v4l2_device_unregister_subdev(sd); adv7180_exit_controls(state); mutex_destroy(&state->mutex); return 0; |