2022-08-04 12:38:17

by Jason Wang

[permalink] [raw]
Subject: [PATCH] drm/gma500: Fix comment typo

The double `the' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <[email protected]>
---
drivers/gpu/drm/gma500/cdv_intel_dp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/gma500/cdv_intel_dp.c b/drivers/gpu/drm/gma500/cdv_intel_dp.c
index bb2e9d64018a..53b967282d6a 100644
--- a/drivers/gpu/drm/gma500/cdv_intel_dp.c
+++ b/drivers/gpu/drm/gma500/cdv_intel_dp.c
@@ -115,7 +115,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)
--
2.35.1



2022-08-29 08:10:37

by Patrik Jakobsson

[permalink] [raw]
Subject: Re: [PATCH] drm/gma500: Fix comment typo

On Thu, Aug 4, 2022 at 1:48 PM Jason Wang <[email protected]> wrote:
>
> The double `the' is duplicated in the comment, remove one.
>
> Signed-off-by: Jason Wang <[email protected]>

Pushed to drm-misc-next

Thanks
Patrik

> ---
> drivers/gpu/drm/gma500/cdv_intel_dp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/gma500/cdv_intel_dp.c b/drivers/gpu/drm/gma500/cdv_intel_dp.c
> index bb2e9d64018a..53b967282d6a 100644
> --- a/drivers/gpu/drm/gma500/cdv_intel_dp.c
> +++ b/drivers/gpu/drm/gma500/cdv_intel_dp.c
> @@ -115,7 +115,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)
> --
> 2.35.1
>