diff options
author | Ezequiel Garcia <ezequiel@collabora.com> | 2021-01-18 02:52:50 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-02-06 08:43:20 +0100 |
commit | 88367b1522bf7e777ed86bb9396c645296ee4ecc (patch) | |
tree | 7b8ea90347a245bb7a7e684a518e5e609cd17560 /drivers/mfd | |
parent | 5bbefdefe8a6927e0cdf68bf02f677e06ccc32b6 (diff) | |
download | linux-88367b1522bf7e777ed86bb9396c645296ee4ecc.tar.gz linux-88367b1522bf7e777ed86bb9396c645296ee4ecc.tar.bz2 linux-88367b1522bf7e777ed86bb9396c645296ee4ecc.zip |
media: cadence: 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.
Use the appropriate helper v4l2_async_notifier_add_fwnode_remote_subdev,
which handles the needed setup, instead of open-coding 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/mfd')
0 files changed, 0 insertions, 0 deletions