2022-08-24 13:26:16

by Jilin Yuan

[permalink] [raw]
Subject: [PATCH] drm/tidss: fix repeated words in comments

Delete the redundant word 'to'.

Signed-off-by: Jilin Yuan <[email protected]>
---
drivers/gpu/drm/tidss/tidss_kms.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/tidss/tidss_kms.c b/drivers/gpu/drm/tidss/tidss_kms.c
index 666e527a0acf..7de3a5ffe5bc 100644
--- a/drivers/gpu/drm/tidss/tidss_kms.c
+++ b/drivers/gpu/drm/tidss/tidss_kms.c
@@ -71,7 +71,7 @@ static int tidss_atomic_check(struct drm_device *ddev,
* changes. This is needed for updating the plane positions in
* tidss_crtc_position_planes() which is called from
* crtc_atomic_enable() and crtc_atomic_flush(). We have an
- * extra flag to to mark x,y-position changes and together
+ * extra flag to mark x,y-position changes and together
* with zpos_changed the condition recognizes all the above
* cases.
*/
--
2.36.1


2022-09-09 13:04:39

by Tomi Valkeinen

[permalink] [raw]
Subject: Re: [PATCH] drm/tidss: fix repeated words in comments

On 24/08/2022 16:04, Jilin Yuan wrote:
> Delete the redundant word 'to'.
>
> Signed-off-by: Jilin Yuan <[email protected]>
> ---
> drivers/gpu/drm/tidss/tidss_kms.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/tidss/tidss_kms.c b/drivers/gpu/drm/tidss/tidss_kms.c
> index 666e527a0acf..7de3a5ffe5bc 100644
> --- a/drivers/gpu/drm/tidss/tidss_kms.c
> +++ b/drivers/gpu/drm/tidss/tidss_kms.c
> @@ -71,7 +71,7 @@ static int tidss_atomic_check(struct drm_device *ddev,
> * changes. This is needed for updating the plane positions in
> * tidss_crtc_position_planes() which is called from
> * crtc_atomic_enable() and crtc_atomic_flush(). We have an
> - * extra flag to to mark x,y-position changes and together
> + * extra flag to mark x,y-position changes and together
> * with zpos_changed the condition recognizes all the above
> * cases.
> */

Thanks, applying to drm-misc.

Tomi