2020-09-04 21:56:16

by Luca Ceresoli

[permalink] [raw]
Subject: [PATCH 1/3] media: docs: v4l2-subdev: fix typo

Fix "will to" -> "will do".

Signed-off-by: Luca Ceresoli <[email protected]>
---
Documentation/driver-api/media/v4l2-subdev.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/driver-api/media/v4l2-subdev.rst b/Documentation/driver-api/media/v4l2-subdev.rst
index bc7e1fc40a9d..9a7dddd97f5a 100644
--- a/Documentation/driver-api/media/v4l2-subdev.rst
+++ b/Documentation/driver-api/media/v4l2-subdev.rst
@@ -191,7 +191,7 @@ but it is better and easier to use this macro:

err = v4l2_subdev_call(sd, core, g_std, &norm);

-The macro will to the right ``NULL`` pointer checks and returns ``-ENODEV``
+The macro will do the right ``NULL`` pointer checks and returns ``-ENODEV``
if :c:type:`sd <v4l2_subdev>` is ``NULL``, ``-ENOIOCTLCMD`` if either
:c:type:`sd <v4l2_subdev>`->core or :c:type:`sd <v4l2_subdev>`->core->g_std is ``NULL``, or the actual result of the
:c:type:`sd <v4l2_subdev>`->ops->core->g_std ops.
--
2.28.0


2020-09-16 00:26:33

by jacopo mondi

[permalink] [raw]
Subject: Re: [PATCH 1/3] media: docs: v4l2-subdev: fix typo

Hi Luca,

On Fri, Sep 04, 2020 at 11:51:39PM +0200, Luca Ceresoli wrote:
> Fix "will to" -> "will do".
>
> Signed-off-by: Luca Ceresoli <[email protected]>


Reviewed-by: Jacopo Mondi <[email protected]>

Thanks
j


> ---
> Documentation/driver-api/media/v4l2-subdev.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/driver-api/media/v4l2-subdev.rst b/Documentation/driver-api/media/v4l2-subdev.rst
> index bc7e1fc40a9d..9a7dddd97f5a 100644
> --- a/Documentation/driver-api/media/v4l2-subdev.rst
> +++ b/Documentation/driver-api/media/v4l2-subdev.rst
> @@ -191,7 +191,7 @@ but it is better and easier to use this macro:
>
> err = v4l2_subdev_call(sd, core, g_std, &norm);
>
> -The macro will to the right ``NULL`` pointer checks and returns ``-ENODEV``
> +The macro will do the right ``NULL`` pointer checks and returns ``-ENODEV``
> if :c:type:`sd <v4l2_subdev>` is ``NULL``, ``-ENOIOCTLCMD`` if either
> :c:type:`sd <v4l2_subdev>`->core or :c:type:`sd <v4l2_subdev>`->core->g_std is ``NULL``, or the actual result of the
> :c:type:`sd <v4l2_subdev>`->ops->core->g_std ops.
> --
> 2.28.0
>