2019-11-20 17:11:08

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH] misc: Fix Kconfig indentation

Adjust indentation from spaces to tab (+optional two spaces) as in
coding style with command like:
$ sed -e 's/^ /\t/' -i */Kconfig

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
drivers/misc/Kconfig | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 94b14abb5404..b93757efb058 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -338,14 +338,14 @@ config SENSORS_TSL2550
will be called tsl2550.

config SENSORS_BH1770
- tristate "BH1770GLC / SFH7770 combined ALS - Proximity sensor"
- depends on I2C
- ---help---
- Say Y here if you want to build a driver for BH1770GLC (ROHM) or
+ tristate "BH1770GLC / SFH7770 combined ALS - Proximity sensor"
+ depends on I2C
+ ---help---
+ Say Y here if you want to build a driver for BH1770GLC (ROHM) or
SFH7770 (Osram) combined ambient light and proximity sensor chip.

- To compile this driver as a module, choose M here: the
- module will be called bh1770glc. If unsure, say N here.
+ To compile this driver as a module, choose M here: the
+ module will be called bh1770glc. If unsure, say N here.

config SENSORS_APDS990X
tristate "APDS990X combined als and proximity sensors"
@@ -450,8 +450,8 @@ config PCI_ENDPOINT_TEST
select CRC32
tristate "PCI Endpoint Test driver"
---help---
- Enable this configuration option to enable the host side test driver
- for PCI Endpoint.
+ Enable this configuration option to enable the host side test driver
+ for PCI Endpoint.

config XILINX_SDFEC
tristate "Xilinx SDFEC 16"
--
2.17.1



2019-11-20 17:40:02

by Dragan Cvetic

[permalink] [raw]
Subject: RE: [PATCH] misc: Fix Kconfig indentation

Hi Krzysztof,

This patch is not for SDFEC driver.

Regards
Dragan


> -----Original Message-----
> From: Krzysztof Kozlowski [mailto:[email protected]]
> Sent: Wednesday 20 November 2019 13:41
> To: [email protected]
> Cc: Krzysztof Kozlowski <[email protected]>; Derek Kiernan <[email protected]>; Dragan Cvetic <[email protected]>; Arnd
> Bergmann <[email protected]>; Greg Kroah-Hartman <[email protected]>
> Subject: [PATCH] misc: Fix Kconfig indentation
>
> Adjust indentation from spaces to tab (+optional two spaces) as in
> coding style with command like:
> $ sed -e 's/^ /\t/' -i */Kconfig
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---
> drivers/misc/Kconfig | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
> index 94b14abb5404..b93757efb058 100644
> --- a/drivers/misc/Kconfig
> +++ b/drivers/misc/Kconfig
> @@ -338,14 +338,14 @@ config SENSORS_TSL2550
> will be called tsl2550.
>
> config SENSORS_BH1770
> - tristate "BH1770GLC / SFH7770 combined ALS - Proximity sensor"
> - depends on I2C
> - ---help---
> - Say Y here if you want to build a driver for BH1770GLC (ROHM) or
> + tristate "BH1770GLC / SFH7770 combined ALS - Proximity sensor"
> + depends on I2C
> + ---help---
> + Say Y here if you want to build a driver for BH1770GLC (ROHM) or
> SFH7770 (Osram) combined ambient light and proximity sensor chip.
>
> - To compile this driver as a module, choose M here: the
> - module will be called bh1770glc. If unsure, say N here.
> + To compile this driver as a module, choose M here: the
> + module will be called bh1770glc. If unsure, say N here.
>
> config SENSORS_APDS990X
> tristate "APDS990X combined als and proximity sensors"
> @@ -450,8 +450,8 @@ config PCI_ENDPOINT_TEST
> select CRC32
> tristate "PCI Endpoint Test driver"
> ---help---
> - Enable this configuration option to enable the host side test driver
> - for PCI Endpoint.
> + Enable this configuration option to enable the host side test driver
> + for PCI Endpoint.
>
> config XILINX_SDFEC
> tristate "Xilinx SDFEC 16"
> --
> 2.17.1