driverdev-devel.linuxdriverproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: hikey9xx: Fix space tab style warnings
@ 2021-02-19 14:38 Lee Gibson
  2021-02-21 13:02 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Lee Gibson @ 2021-02-19 14:38 UTC (permalink / raw)
  To: mchehab+huawei; +Cc: devel, gregkh, linux-kernel, Lee Gibson

This patch fixes the checkpatch warnings such as:

hi6421-spmi-pmic.c:51: WARNING: please, no space before tabs

Signed-off-by: Lee Gibson <leegib@gmail.com>
---
 drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/hikey9xx/hi6421-spmi-pmic.c b/drivers/staging/hikey9xx/hi6421-spmi-pmic.c
index 4ebcfea9f3bf..626140cb96f2 100644
--- a/drivers/staging/hikey9xx/hi6421-spmi-pmic.c
+++ b/drivers/staging/hikey9xx/hi6421-spmi-pmic.c
@@ -48,9 +48,9 @@ enum hi6421_spmi_pmic_irq_list {
 /*
  * The IRQs are mapped as:
  *
- * 	======================  =============   ============	=====
- *	IRQ			MASK REGISTER 	IRQ REGISTER	BIT
- * 	======================  =============   ============	=====
+ *	======================  =============   ============	=====
+ *	IRQ			MASK REGISTER	IRQ REGISTER	BIT
+ *	======================  =============   ============	=====
  *	OTMP			0x0202		0x212		bit 0
  *	VBUS_CONNECT		0x0202		0x212		bit 1
  *	VBUS_DISCONNECT		0x0202		0x212		bit 2
@@ -66,7 +66,7 @@ enum hi6421_spmi_pmic_irq_list {
  *	SIM0_HPD_F		0x0203		0x213		bit 3
  *	SIM1_HPD_R		0x0203		0x213		bit 4
  *	SIM1_HPD_F		0x0203		0x213		bit 5
- * 	======================  =============   ============	=====
+ *	======================  =============   ============	=====
  */
 #define SOC_PMIC_IRQ_MASK_0_ADDR	0x0202
 #define SOC_PMIC_IRQ0_ADDR		0x0212
-- 
2.25.1

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: hikey9xx: Fix space tab style warnings
  2021-02-19 14:38 [PATCH] staging: hikey9xx: Fix space tab style warnings Lee Gibson
@ 2021-02-21 13:02 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2021-02-21 13:02 UTC (permalink / raw)
  To: Lee Gibson; +Cc: mchehab+huawei, devel, linux-kernel

On Fri, Feb 19, 2021 at 02:38:51PM +0000, Lee Gibson wrote:
> This patch fixes the checkpatch warnings such as:
> 
> hi6421-spmi-pmic.c:51: WARNING: please, no space before tabs
> 
> Signed-off-by: Lee Gibson <leegib@gmail.com>
> ---
>  drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/staging/hikey9xx/hi6421-spmi-pmic.c b/drivers/staging/hikey9xx/hi6421-spmi-pmic.c
> index 4ebcfea9f3bf..626140cb96f2 100644
> --- a/drivers/staging/hikey9xx/hi6421-spmi-pmic.c
> +++ b/drivers/staging/hikey9xx/hi6421-spmi-pmic.c
> @@ -48,9 +48,9 @@ enum hi6421_spmi_pmic_irq_list {
>  /*
>   * The IRQs are mapped as:
>   *
> - * 	======================  =============   ============	=====
> - *	IRQ			MASK REGISTER 	IRQ REGISTER	BIT
> - * 	======================  =============   ============	=====
> + *	======================  =============   ============	=====
> + *	IRQ			MASK REGISTER	IRQ REGISTER	BIT
> + *	======================  =============   ============	=====
>   *	OTMP			0x0202		0x212		bit 0
>   *	VBUS_CONNECT		0x0202		0x212		bit 1
>   *	VBUS_DISCONNECT		0x0202		0x212		bit 2
> @@ -66,7 +66,7 @@ enum hi6421_spmi_pmic_irq_list {
>   *	SIM0_HPD_F		0x0203		0x213		bit 3
>   *	SIM1_HPD_R		0x0203		0x213		bit 4
>   *	SIM1_HPD_F		0x0203		0x213		bit 5
> - * 	======================  =============   ============	=====
> + *	======================  =============   ============	=====
>   */
>  #define SOC_PMIC_IRQ_MASK_0_ADDR	0x0202
>  #define SOC_PMIC_IRQ0_ADDR		0x0212
> -- 
> 2.25.1

This patch doesn't apply to my staging-testing branch of staging.git
right now, did someone else already make this change recently?

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-21 13:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-19 14:38 [PATCH] staging: hikey9xx: Fix space tab style warnings Lee Gibson
2021-02-21 13:02 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).