diff options
| author | Steve Longerbeam <slongerbeam@gmail.com> | 2018-09-29 15:54:16 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-10-04 15:39:36 -0400 |
| commit | b803cd35983329ecefc5139457e7205450d786b5 (patch) | |
| tree | 530aaa23b6394361f8066958a779576db2b2828d /drivers/media/platform/stm32/stm32-dcmi.c | |
| parent | media: staging/imx: Rename root notifier (diff) | |
| download | linux-b803cd35983329ecefc5139457e7205450d786b5.tar.gz linux-b803cd35983329ecefc5139457e7205450d786b5.zip | |
media: staging/imx: Switch to v4l2_async_notifier_add_*_subdev
Switch to v4l2_async_notifier_add_*_subdev() when adding async subdevs
to the imx-media root notifier. This removes the need to check for
an already added asd, since v4l2_async_notifier_add_*_subdev() does this
check. Also no need to allocate a subdevs array when registering the
root notifier, or keeping an internal master asd_list, since this is
moved to the notifier's asd_list.
Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/stm32/stm32-dcmi.c')
0 files changed, 0 insertions, 0 deletions
