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

Jilin Yuan yuanjilin at cdjrlc.com
Tue Aug 23 12:24:27 UTC 2022


 Delete the redundant word 'the'.
 Delete the redundant word 'for'.
 Delete the redundant word 'really'.

Signed-off-by: Jilin Yuan <yuanjilin at cdjrlc.com>
---
 drivers/gpu/drm/gma500/cdv_intel_dp.c  | 2 +-
 drivers/gpu/drm/gma500/oaktrail_crtc.c | 2 +-
 drivers/gpu/drm/gma500/oaktrail_hdmi.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/gma500/cdv_intel_dp.c b/drivers/gpu/drm/gma500/cdv_intel_dp.c
index 9ee99a7d4fbe..a286861ffa3f 100644
--- a/drivers/gpu/drm/gma500/cdv_intel_dp.c
+++ b/drivers/gpu/drm/gma500/cdv_intel_dp.c
@@ -114,7 +114,7 @@ i2c_algo_dp_aux_stop(struct i2c_adapter *adapter, bool reading)
 
 /*
  * Write a single byte to the current I2C address, the
- * the I2C link must be running or this returns -EIO
+ * I2C link must be running or this returns -EIO
  */
 static int
 i2c_algo_dp_aux_put_byte(struct i2c_adapter *adapter, u8 byte)
diff --git a/drivers/gpu/drm/gma500/oaktrail_crtc.c b/drivers/gpu/drm/gma500/oaktrail_crtc.c
index 22398d34853a..407ce948bf68 100644
--- a/drivers/gpu/drm/gma500/oaktrail_crtc.c
+++ b/drivers/gpu/drm/gma500/oaktrail_crtc.c
@@ -309,7 +309,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);
diff --git a/drivers/gpu/drm/gma500/oaktrail_hdmi.c b/drivers/gpu/drm/gma500/oaktrail_hdmi.c
index b5946a1cdcd5..6b6f2e162ebd 100644
--- a/drivers/gpu/drm/gma500/oaktrail_hdmi.c
+++ b/drivers/gpu/drm/gma500/oaktrail_hdmi.c
@@ -225,7 +225,7 @@ static void scu_busy_loop(void __iomem *scu_base)
 }
 
 /*
- *	You don't want to know, you really really don't want to know....
+ *	You don't want to know, you really don't want to know....
  *
  *	This is magic. However it's safe magic because of the way the platform
  *	works and it is necessary magic.
-- 
2.36.1



More information about the dri-devel mailing list