2021-05-17 10:02:00

by Juerg Haefliger

[permalink] [raw]
Subject: [PATCH] backlight: Remove leading spaces in Kconfig

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 <[email protected]>
---
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



2021-05-18 19:24:56

by Daniel Thompson

[permalink] [raw]
Subject: Re: [PATCH] backlight: Remove leading spaces in Kconfig

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 <[email protected]>
> ---
> 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
>

2021-05-19 21:10:37

by Juerg Haefliger

[permalink] [raw]
Subject: [PATCH v2] backlight: Kconfig whitespace and indentation cleanups

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

Signed-off-by: Juerg Haefliger <[email protected]>
---
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


2021-06-01 12:38:28

by Lee Jones

[permalink] [raw]
Subject: Re: [PATCH v2] backlight: Kconfig whitespace and indentation cleanups

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 <[email protected]>
> ---
> 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