[PATCH] drm/gma500: fix repeated words in comments

Jilin Yuan posted 1 patch 3 years, 7 months ago
drivers/gpu/drm/gma500/oaktrail_crtc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] drm/gma500: fix repeated words in comments
Posted by Jilin Yuan 3 years, 7 months ago
Delete the redundant word 'for'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
 drivers/gpu/drm/gma500/oaktrail_crtc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/gma500/oaktrail_crtc.c b/drivers/gpu/drm/gma500/oaktrail_crtc.c
index 6004390d647a..64761f46b434 100644
--- a/drivers/gpu/drm/gma500/oaktrail_crtc.c
+++ b/drivers/gpu/drm/gma500/oaktrail_crtc.c
@@ -310,7 +310,7 @@ static void oaktrail_crtc_dpms(struct drm_crtc *crtc, int mode)
 						   temp & ~PIPEACONF_ENABLE, i);
 				REG_READ_WITH_AUX(map->conf, i);
 			}
-			/* Wait for for the pipe disable to take effect. */
+			/* Wait for the pipe disable to take effect. */
 			gma_wait_for_vblank(dev);
 
 			temp = REG_READ_WITH_AUX(map->dpll, i);
-- 
2.36.1
Re: [PATCH] drm/gma500: fix repeated words in comments
Posted by Patrik Jakobsson 3 years, 7 months ago
On Wed, Sep 7, 2022 at 1:39 PM Jilin Yuan <yuanjilin@cdjrlc.com> wrote:
>
> Delete the redundant word 'for'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>

Patch applied to drm-misc-next

-Patrik

> ---
>  drivers/gpu/drm/gma500/oaktrail_crtc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/gma500/oaktrail_crtc.c b/drivers/gpu/drm/gma500/oaktrail_crtc.c
> index 6004390d647a..64761f46b434 100644
> --- a/drivers/gpu/drm/gma500/oaktrail_crtc.c
> +++ b/drivers/gpu/drm/gma500/oaktrail_crtc.c
> @@ -310,7 +310,7 @@ static void oaktrail_crtc_dpms(struct drm_crtc *crtc, int mode)
>                                                    temp & ~PIPEACONF_ENABLE, i);
>                                 REG_READ_WITH_AUX(map->conf, i);
>                         }
> -                       /* Wait for for the pipe disable to take effect. */
> +                       /* Wait for the pipe disable to take effect. */
>                         gma_wait_for_vblank(dev);
>
>                         temp = REG_READ_WITH_AUX(map->dpll, i);
> --
> 2.36.1
>