media: tw9910: Unregister subdevice with v4l2-async
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Thu, 17 Jan 2019 14:33:04 +0000 (12:33 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:50:14 +0000 (14:50 +0100)
commit0594ddddf863f76afcfcf2c3480275aeee8bad33
treee7d3b4bf437a18fe2339515bf58e88b75a4b6a02
parentad20af2f51aa3fe7858549f80850e04a40fbb257
media: tw9910: Unregister subdevice with v4l2-async

[ Upstream commit 341fe1d301f587c930509f6b9153436b957f649c ]

As the tw9910 subdevice is registered through the v4l2-async framework,
use the v4l2-async provided function to register it.

Fixes: 7b20f325a566 ("media: i2c: tw9910: Remove soc_camera dependencies")

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/i2c/tw9910.c