2022-09-07 12:00:15

by Jilin Yuan

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

Delete the redundant word 'for'.

Signed-off-by: Jilin Yuan <[email protected]>
---
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


2022-09-07 12:54:01

by Patrik Jakobsson

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

On Wed, Sep 7, 2022 at 1:39 PM Jilin Yuan <[email protected]> wrote:
>
> Delete the redundant word 'for'.
>
> Signed-off-by: Jilin Yuan <[email protected]>

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
>