]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
media: ov7670: use v4l2_async_unregister_subdev()
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 24 Nov 2017 14:40:44 +0000 (09:40 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Dec 2017 14:22:03 +0000 (09:22 -0500)
commit344aa836e813a6b097c23f2e0633dd17f62c2ed7
tree09c07f148c3b8e00655d943096cb8781bba940e7
parent4884c50631ff30d90565366b9552d0a22ee3c09b
media: ov7670: use v4l2_async_unregister_subdev()

The sub-device for ov7670 is registered by v4l2_async_register_subdev().
So it should be unregistered by v4l2_async_unregister_subdev() instead of
v4l2_device_unregister_subdev().

Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/ov7670.c