[media] ad5820: unregister async sub-device
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 26 May 2017 13:00:48 +0000 (10:00 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 8 Jun 2017 15:34:17 +0000 (12:34 -0300)
commit586248a75b36d39aa60eb6e447b7f7e25e011e73
tree1df4796f7abd44e892ad6845b4e77677cbdb36a8
parent13c6c6ea1a89fea426935501ddd064d271d836d6
[media] ad5820: unregister async sub-device

The async sub-device was not unregistered in ad5820_remove() as it should
have been; do it now. Also remove the now-redundant
v4l2_device_unregister_subdev().

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/ad5820.c