Re: [PATCH 1/2] media: v4l2-subdev: Fix documentation of the subdev_notifier member

From: Sakari Ailus
Date: Wed Jun 09 2021 - 08:30:12 EST


Hi Paul,

On Wed, Jun 09, 2021 at 01:54:56PM +0200, Paul Kocialkowski wrote:
> Fix the name of the function that registers the subdev_notifier member
> of the v4l2_subdev structure.
>
> Signed-off-by: Paul Kocialkowski <paul.kocialkowski@xxxxxxxxxxx>
> ---
> include/media/v4l2-subdev.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h
> index d0e9a5bdb08b..f3b657dfe304 100644
> --- a/include/media/v4l2-subdev.h
> +++ b/include/media/v4l2-subdev.h
> @@ -854,7 +854,7 @@ struct v4l2_subdev_platform_data {
> * @asd: Pointer to respective &struct v4l2_async_subdev.
> * @notifier: Pointer to the managing notifier.
> * @subdev_notifier: A sub-device notifier implicitly registered for the sub-
> - * device using v4l2_device_register_sensor_subdev().
> + * device using v4l2_async_register_subdev_sensor_common().

I agree in principle, but the function is nowadays called
v4l2_async_register_subdev_sensor().

I can fix this while applying.

--
Regards,

Sakari Ailus