linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] backlight: Remove leading spaces in Kconfig
@ 2021-05-17  9:58 Juerg Haefliger
  2021-05-17 15:27 ` Daniel Thompson
  2021-05-19 11:03 ` [PATCH v2] backlight: Kconfig whitespace and indentation cleanups Juerg Haefliger
  0 siblings, 2 replies; 5+ messages in thread
From: Juerg Haefliger @ 2021-05-17  9:58 UTC (permalink / raw)
  To: lee.jones, daniel.thompson, jingoohan1, dri-devel, linux-fbdev
  Cc: linux-kernel, juergh

Remove leading spaces before tabs in Kconfig file(s) by running the
following command:

  $ find drivers/video/backlight -name 'Kconfig*' | \
    xargs sed -r -i 's/^[ ]+\t/\t/'

Signed-off-by: Juerg Haefliger <juergh@canonical.com>
---
 drivers/video/backlight/Kconfig | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig
index d83c87b902c1..a967974f6cd6 100644
--- a/drivers/video/backlight/Kconfig
+++ b/drivers/video/backlight/Kconfig
@@ -129,11 +129,11 @@ config LCD_HX8357
 	  driver.
 
   config LCD_OTM3225A
-  	tristate "ORISE Technology OTM3225A support"
-  	depends on SPI
-  	help
-  	  If you have a panel based on the OTM3225A controller
-  	  chip then say y to include a driver for it.
+	tristate "ORISE Technology OTM3225A support"
+	depends on SPI
+	help
+	  If you have a panel based on the OTM3225A controller
+	  chip then say y to include a driver for it.
 
 endif # LCD_CLASS_DEVICE
 
-- 
2.27.0


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

* Re: [PATCH] backlight: Remove leading spaces in Kconfig
  2021-05-17  9:58 [PATCH] backlight: Remove leading spaces in Kconfig Juerg Haefliger
@ 2021-05-17 15:27 ` Daniel Thompson
  2021-05-19 11:03 ` [PATCH v2] backlight: Kconfig whitespace and indentation cleanups Juerg Haefliger
  1 sibling, 0 replies; 5+ messages in thread
From: Daniel Thompson @ 2021-05-17 15:27 UTC (permalink / raw)
  To: Juerg Haefliger
  Cc: lee.jones, jingoohan1, dri-devel, linux-fbdev, linux-kernel, juergh

On Mon, May 17, 2021 at 11:58:39AM +0200, Juerg Haefliger wrote:
> Remove leading spaces before tabs in Kconfig file(s) by running the
> following command:
> 
>   $ find drivers/video/backlight -name 'Kconfig*' | \
>     xargs sed -r -i 's/^[ ]+\t/\t/'
> 
> Signed-off-by: Juerg Haefliger <juergh@canonical.com>
> ---
>  drivers/video/backlight/Kconfig | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig
> index d83c87b902c1..a967974f6cd6 100644
> --- a/drivers/video/backlight/Kconfig
> +++ b/drivers/video/backlight/Kconfig
> @@ -129,11 +129,11 @@ config LCD_HX8357
>  	  driver.
>  
>    config LCD_OTM3225A

Whilst removing the unwanted spaces (two of them on each line) could we
also remove the two unwanted spaces from the config line as well.


Daniel.


> -  	tristate "ORISE Technology OTM3225A support"
> -  	depends on SPI
> -  	help
> -  	  If you have a panel based on the OTM3225A controller
> -  	  chip then say y to include a driver for it.
> +	tristate "ORISE Technology OTM3225A support"
> +	depends on SPI
> +	help
> +	  If you have a panel based on the OTM3225A controller
> +	  chip then say y to include a driver for it.
>  
>  endif # LCD_CLASS_DEVICE
>  
> -- 
> 2.27.0
> 

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

* [PATCH v2] backlight: Kconfig whitespace and indentation cleanups
  2021-05-17  9:58 [PATCH] backlight: Remove leading spaces in Kconfig Juerg Haefliger
  2021-05-17 15:27 ` Daniel Thompson
@ 2021-05-19 11:03 ` Juerg Haefliger
  2021-05-19 15:44   ` Daniel Thompson
  2021-06-01 12:37   ` Lee Jones
  1 sibling, 2 replies; 5+ messages in thread
From: Juerg Haefliger @ 2021-05-19 11:03 UTC (permalink / raw)
  To: Lee Jones, Daniel Thompson, Jingoo Han, dri-devel, linux-fbdev
  Cc: linux-kernel, Juerg Haefliger

Remove leading whitespaces, replace multi spaces with tabs, and fix help
text indentation.

Signed-off-by: Juerg Haefliger <juergh@canonical.com>
---
 drivers/video/backlight/Kconfig | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig
index d83c87b902c1..c887338de386 100644
--- a/drivers/video/backlight/Kconfig
+++ b/drivers/video/backlight/Kconfig
@@ -128,12 +128,12 @@ config LCD_HX8357
 	  If you have a HX-8357 LCD panel, say Y to enable its LCD control
 	  driver.
 
-  config LCD_OTM3225A
-  	tristate "ORISE Technology OTM3225A support"
-  	depends on SPI
-  	help
-  	  If you have a panel based on the OTM3225A controller
-  	  chip then say y to include a driver for it.
+config LCD_OTM3225A
+	tristate "ORISE Technology OTM3225A support"
+	depends on SPI
+	help
+	  If you have a panel based on the OTM3225A controller
+	  chip then say y to include a driver for it.
 
 endif # LCD_CLASS_DEVICE
 
@@ -269,11 +269,11 @@ config BACKLIGHT_MAX8925
 	  WLED output, say Y here to enable this driver.
 
 config BACKLIGHT_APPLE
-       tristate "Apple Backlight Driver"
-       depends on X86 && ACPI
-       help
-	 If you have an Intel-based Apple say Y to enable a driver for its
-	 backlight.
+	tristate "Apple Backlight Driver"
+	depends on X86 && ACPI
+	help
+	  If you have an Intel-based Apple say Y to enable a driver for its
+	  backlight.
 
 config BACKLIGHT_TOSA
 	tristate "Sharp SL-6000 Backlight Driver"
-- 
2.27.0


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

* Re: [PATCH v2] backlight: Kconfig whitespace and indentation cleanups
  2021-05-19 11:03 ` [PATCH v2] backlight: Kconfig whitespace and indentation cleanups Juerg Haefliger
@ 2021-05-19 15:44   ` Daniel Thompson
  2021-06-01 12:37   ` Lee Jones
  1 sibling, 0 replies; 5+ messages in thread
From: Daniel Thompson @ 2021-05-19 15:44 UTC (permalink / raw)
  To: Juerg Haefliger
  Cc: Lee Jones, Jingoo Han, dri-devel, linux-fbdev, linux-kernel,
	Juerg Haefliger

On Wed, May 19, 2021 at 01:03:00PM +0200, Juerg Haefliger wrote:
> Remove leading whitespaces, replace multi spaces with tabs, and fix help
> text indentation.
> 
> Signed-off-by: Juerg Haefliger <juergh@canonical.com>

Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>


Daniel.

> ---
>  drivers/video/backlight/Kconfig | 22 +++++++++++-----------
>  1 file changed, 11 insertions(+), 11 deletions(-)
> 
> diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig
> index d83c87b902c1..c887338de386 100644
> --- a/drivers/video/backlight/Kconfig
> +++ b/drivers/video/backlight/Kconfig
> @@ -128,12 +128,12 @@ config LCD_HX8357
>  	  If you have a HX-8357 LCD panel, say Y to enable its LCD control
>  	  driver.
>  
> -  config LCD_OTM3225A
> -  	tristate "ORISE Technology OTM3225A support"
> -  	depends on SPI
> -  	help
> -  	  If you have a panel based on the OTM3225A controller
> -  	  chip then say y to include a driver for it.
> +config LCD_OTM3225A
> +	tristate "ORISE Technology OTM3225A support"
> +	depends on SPI
> +	help
> +	  If you have a panel based on the OTM3225A controller
> +	  chip then say y to include a driver for it.
>  
>  endif # LCD_CLASS_DEVICE
>  
> @@ -269,11 +269,11 @@ config BACKLIGHT_MAX8925
>  	  WLED output, say Y here to enable this driver.
>  
>  config BACKLIGHT_APPLE
> -       tristate "Apple Backlight Driver"
> -       depends on X86 && ACPI
> -       help
> -	 If you have an Intel-based Apple say Y to enable a driver for its
> -	 backlight.
> +	tristate "Apple Backlight Driver"
> +	depends on X86 && ACPI
> +	help
> +	  If you have an Intel-based Apple say Y to enable a driver for its
> +	  backlight.
>  
>  config BACKLIGHT_TOSA
>  	tristate "Sharp SL-6000 Backlight Driver"
> -- 
> 2.27.0
> 

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

* Re: [PATCH v2] backlight: Kconfig whitespace and indentation cleanups
  2021-05-19 11:03 ` [PATCH v2] backlight: Kconfig whitespace and indentation cleanups Juerg Haefliger
  2021-05-19 15:44   ` Daniel Thompson
@ 2021-06-01 12:37   ` Lee Jones
  1 sibling, 0 replies; 5+ messages in thread
From: Lee Jones @ 2021-06-01 12:37 UTC (permalink / raw)
  To: Juerg Haefliger
  Cc: Daniel Thompson, Jingoo Han, dri-devel, linux-fbdev,
	linux-kernel, Juerg Haefliger

On Wed, 19 May 2021, Juerg Haefliger wrote:

> Remove leading whitespaces, replace multi spaces with tabs, and fix help
> text indentation.
> 
> Signed-off-by: Juerg Haefliger <juergh@canonical.com>
> ---
>  drivers/video/backlight/Kconfig | 22 +++++++++++-----------
>  1 file changed, 11 insertions(+), 11 deletions(-)

Applied, thanks.

-- 
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog

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

end of thread, other threads:[~2021-06-01 12:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-17  9:58 [PATCH] backlight: Remove leading spaces in Kconfig Juerg Haefliger
2021-05-17 15:27 ` Daniel Thompson
2021-05-19 11:03 ` [PATCH v2] backlight: Kconfig whitespace and indentation cleanups Juerg Haefliger
2021-05-19 15:44   ` Daniel Thompson
2021-06-01 12:37   ` Lee Jones

This is a public inbox, see mirroring instructions
on how to clone and mirror all data and code used for this inbox