[media] adv7180: Remove unnecessary v4l2_device_unregister_subdev() from probe error...
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 7 Mar 2014 16:14:29 +0000 (13:14 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 11 Mar 2014 13:24:49 +0000 (10:24 -0300)
commit3de0a911561ceb3fcd1211faecf05e68b60105a1
tree92fbc3244c4d6d686e544219696737281223410f
parentb13f4af25c0a36d74a69f7d30e2a28fa941e99b5
[media] adv7180: Remove unnecessary v4l2_device_unregister_subdev() from probe error path

The device can't possibly be registered at this point, so no need to to call
v4l2_device_unregister_subdev().

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/adv7180.c