2022-07-22 02:40:33

by Xin Gao

[permalink] [raw]
Subject: [PATCH] platform/x86: Fix comment typo

The double `of' is duplicated in line 50, remove one.

Signed-off-by: Xin Gao <[email protected]>
---
include/linux/platform_data/x86/pmc_atom.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/platform_data/x86/pmc_atom.h b/include/linux/platform_data/x86/pmc_atom.h
index 6807839c718b..3edfb6d4e67a 100644
--- a/include/linux/platform_data/x86/pmc_atom.h
+++ b/include/linux/platform_data/x86/pmc_atom.h
@@ -47,7 +47,7 @@
#define PMC_S0I2_TMR 0x88
#define PMC_S0I3_TMR 0x8C
#define PMC_S0_TMR 0x90
-/* Sleep state counter is in units of of 32us */
+/* Sleep state counter is in units of 32us */
#define PMC_TMR_SHIFT 5

/* Power status of power islands */
--
2.30.2


2022-07-28 19:06:49

by Hans de Goede

[permalink] [raw]
Subject: Re: [PATCH] platform/x86: Fix comment typo

Hi,

On 7/22/22 04:23, Xin Gao wrote:
> The double `of' is duplicated in line 50, remove one.
>
> Signed-off-by: Xin Gao <[email protected]>

Thank you for your patch, I've applied this patch to my review-hans
branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans

Note it will show up in my review-hans branch once I've pushed my
local branch there, which might take a while.

Once I've run some tests on this branch the patches there will be
added to the platform-drivers-x86/for-next branch and eventually
will be included in the pdx86 pull-request to Linus for the next
merge-window.

Regards,

Hans



> ---
> include/linux/platform_data/x86/pmc_atom.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/platform_data/x86/pmc_atom.h b/include/linux/platform_data/x86/pmc_atom.h
> index 6807839c718b..3edfb6d4e67a 100644
> --- a/include/linux/platform_data/x86/pmc_atom.h
> +++ b/include/linux/platform_data/x86/pmc_atom.h
> @@ -47,7 +47,7 @@
> #define PMC_S0I2_TMR 0x88
> #define PMC_S0I3_TMR 0x8C
> #define PMC_S0_TMR 0x90
> -/* Sleep state counter is in units of of 32us */
> +/* Sleep state counter is in units of 32us */
> #define PMC_TMR_SHIFT 5
>
> /* Power status of power islands */