[PATCH] platform/x86: Fix comment typo

Xin Gao posted 1 patch 3 years, 8 months ago
include/linux/platform_data/x86/pmc_atom.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] platform/x86: Fix comment typo
Posted by Xin Gao 3 years, 8 months ago
The double `of' is duplicated in line 50, remove one.

Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
---
 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
Re: [PATCH] platform/x86: Fix comment typo
Posted by Hans de Goede 3 years, 8 months ago
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 <gaoxin@cdjrlc.com>

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 */