diff options
author | Ezequiel Garcia <ezequiel@collabora.com> | 2021-01-18 02:52:46 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-02-06 08:41:06 +0100 |
commit | d6701f13bd0747a78bb0b78dd45344e475afd512 (patch) | |
tree | 73032c7461b0006eb179f9fe0fa690a28917e72f /drivers/media/cec | |
parent | c1cf3d896d124e3e00794f9bfbde49f0fc279e3f (diff) |
media: atmel: Use v4l2_async_notifier_add_fwnode_remote_subdev
The use of v4l2_async_notifier_add_subdev will be discouraged.
Drivers are instead encouraged to use a helper such as
v4l2_async_notifier_add_fwnode_remote_subdev.
This fixes a misuse of the API, as v4l2_async_notifier_add_subdev
should get a kmalloc'ed struct v4l2_async_subdev,
removing some boilerplate code while at it.
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/cec')
0 files changed, 0 insertions, 0 deletions