Message ID | 20200904215141.20862-1-luca@lucaceresoli.net (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | [1/3] media: docs: v4l2-subdev: fix typo | expand |
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 <luca@lucaceresoli.net> Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org> 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 >
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.
Fix "will to" -> "will do". Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> --- Documentation/driver-api/media/v4l2-subdev.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)