2022-10-22 07:07:39

by wangjianli

[permalink] [raw]
Subject: [PATCH] i915/display: fix repeated words in comments

Delete the redundant word 'the'.

Signed-off-by: wangjianli <[email protected]>
---
drivers/gpu/drm/i915/display/intel_crt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_crt.c b/drivers/gpu/drm/i915/display/intel_crt.c
index 6a3893c8ff22..fead011c87b5 100644
--- a/drivers/gpu/drm/i915/display/intel_crt.c
+++ b/drivers/gpu/drm/i915/display/intel_crt.c
@@ -1102,7 +1102,7 @@ void intel_crt_init(struct drm_i915_private *dev_priv)
drm_connector_helper_add(connector, &intel_crt_connector_helper_funcs);

/*
- * TODO: find a proper way to discover whether we need to set the the
+ * TODO: find a proper way to discover whether we need to set the
* polarity and link reversal bits or not, instead of relying on the
* BIOS.
*/
--
2.36.1


2022-10-24 16:28:05

by Rodrigo Vivi

[permalink] [raw]
Subject: Re: [PATCH] i915/display: fix repeated words in comments

On Sat, Oct 22, 2022 at 02:09:47PM +0800, wangjianli wrote:
> Delete the redundant word 'the'.

I believe we should put an end in patches like this.

Please accumulate all the s/the the/the and other small
comment fixes that are under drivers/gpu/drm/i915 in a single
commit.

>
> Signed-off-by: wangjianli <[email protected]>
> ---
> drivers/gpu/drm/i915/display/intel_crt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_crt.c b/drivers/gpu/drm/i915/display/intel_crt.c
> index 6a3893c8ff22..fead011c87b5 100644
> --- a/drivers/gpu/drm/i915/display/intel_crt.c
> +++ b/drivers/gpu/drm/i915/display/intel_crt.c
> @@ -1102,7 +1102,7 @@ void intel_crt_init(struct drm_i915_private *dev_priv)
> drm_connector_helper_add(connector, &intel_crt_connector_helper_funcs);
>
> /*
> - * TODO: find a proper way to discover whether we need to set the the
> + * TODO: find a proper way to discover whether we need to set the
> * polarity and link reversal bits or not, instead of relying on the
> * BIOS.
> */
> --
> 2.36.1
>