linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] i2c: Fix Kconfig indentation
@ 2019-11-21  3:19 Krzysztof Kozlowski
  2019-11-25 14:58 ` Wolfram Sang
  2019-11-25 16:14 ` Wolfram Sang
  0 siblings, 2 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2019-11-21  3:19 UTC (permalink / raw)
  To: linux-kernel; +Cc: Krzysztof Kozlowski, Peter Rosin, linux-i2c

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 <krzk@kernel.org>

---

Changes since v1:
1. Fix also 7-space and tab+1 space indentation issues.
---
 drivers/i2c/busses/Kconfig | 22 +++++++++++-----------
 drivers/i2c/muxes/Kconfig  | 18 +++++++++---------
 2 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 45ca099e7315..da243f153319 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -293,7 +293,7 @@ config I2C_VIA
 	select I2C_ALGOBIT
 	help
 	  If you say yes to this option, support will be included for the VIA
-          82C586B I2C interface
+	  82C586B I2C interface
 
 	  This driver can also be built as a module.  If so, the module
 	  will be called i2c-via.
@@ -678,11 +678,11 @@ config I2C_IMX_LPI2C
 	tristate "IMX Low Power I2C interface"
 	depends on ARCH_MXC || COMPILE_TEST
 	help
-          Say Y here if you want to use the Low Power IIC bus controller
-          on the Freescale i.MX processors.
+	  Say Y here if you want to use the Low Power IIC bus controller
+	  on the Freescale i.MX processors.
 
-          This driver can also be built as a module. If so, the module
-          will be called i2c-imx-lpi2c.
+	  This driver can also be built as a module. If so, the module
+	  will be called i2c-imx-lpi2c.
 
 config I2C_IOP3XX
 	tristate "Intel IOPx3xx and IXP4xx on-chip I2C interface"
@@ -1184,9 +1184,9 @@ config I2C_DIOLAN_U2C
 	  will be called i2c-diolan-u2c.
 
 config I2C_DLN2
-       tristate "Diolan DLN-2 USB I2C adapter"
-       depends on MFD_DLN2
-       help
+	tristate "Diolan DLN-2 USB I2C adapter"
+	depends on MFD_DLN2
+	help
 	 If you say yes to this option, support will be included for Diolan
 	 DLN2, a USB to I2C interface.
 
@@ -1285,9 +1285,9 @@ config I2C_VIPERBOARD
 	help
 	  Say yes here to access the I2C part of the Nano River
 	  Technologies Viperboard as I2C master.
-          See viperboard API specification and Nano
-          River Tech's viperboard.h for detailed meaning
-          of the module parameters.
+	  See viperboard API specification and Nano
+	  River Tech's viperboard.h for detailed meaning
+	  of the module parameters.
 
 comment "Other I2C/SMBus bus drivers"
 
diff --git a/drivers/i2c/muxes/Kconfig b/drivers/i2c/muxes/Kconfig
index c6040aa839ac..1708b1a82da2 100644
--- a/drivers/i2c/muxes/Kconfig
+++ b/drivers/i2c/muxes/Kconfig
@@ -109,14 +109,14 @@ config I2C_DEMUX_PINCTRL
 	  want to change the I2C master at run-time depending on features.
 
 config I2C_MUX_MLXCPLD
-        tristate "Mellanox CPLD based I2C multiplexer"
-        help
-          If you say yes to this option, support will be included for a
-          CPLD based I2C multiplexer. This driver provides access to
-          I2C busses connected through a MUX, which is controlled
-          by a CPLD register.
-
-          This driver can also be built as a module.  If so, the module
-          will be called i2c-mux-mlxcpld.
+	tristate "Mellanox CPLD based I2C multiplexer"
+	help
+	  If you say yes to this option, support will be included for a
+	  CPLD based I2C multiplexer. This driver provides access to
+	  I2C busses connected through a MUX, which is controlled
+	  by a CPLD register.
+
+	  This driver can also be built as a module.  If so, the module
+	  will be called i2c-mux-mlxcpld.
 
 endmenu
-- 
2.7.4


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

* Re: [PATCH v2] i2c: Fix Kconfig indentation
  2019-11-21  3:19 [PATCH v2] i2c: Fix Kconfig indentation Krzysztof Kozlowski
@ 2019-11-25 14:58 ` Wolfram Sang
  2019-11-25 16:01   ` Peter Rosin
  2019-11-25 16:14 ` Wolfram Sang
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfram Sang @ 2019-11-25 14:58 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Peter Rosin; +Cc: linux-kernel, linux-i2c

[-- Attachment #1: Type: text/plain, Size: 661 bytes --]

On Thu, Nov 21, 2019 at 04:19:23AM +0100, Krzysztof Kozlowski wrote:
> 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 <krzk@kernel.org>
> 
> ---
> 
> Changes since v1:
> 1. Fix also 7-space and tab+1 space indentation issues.
> ---
>  drivers/i2c/busses/Kconfig | 22 +++++++++++-----------
>  drivers/i2c/muxes/Kconfig  | 18 +++++++++---------

Peter, I'd like to apply this for 5.5. so we don't have to deal with
whitespace conflicts during the next cycle. Are you fine with me picking
it up for muxes?


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH v2] i2c: Fix Kconfig indentation
  2019-11-25 14:58 ` Wolfram Sang
@ 2019-11-25 16:01   ` Peter Rosin
  2019-11-25 16:14     ` Wolfram Sang
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Rosin @ 2019-11-25 16:01 UTC (permalink / raw)
  To: Wolfram Sang, Krzysztof Kozlowski; +Cc: linux-kernel, linux-i2c

On 2019-11-25 15:58, Wolfram Sang wrote:
> On Thu, Nov 21, 2019 at 04:19:23AM +0100, Krzysztof Kozlowski wrote:
>> 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 <krzk@kernel.org>
>>
>> ---
>>
>> Changes since v1:
>> 1. Fix also 7-space and tab+1 space indentation issues.
>> ---
>>  drivers/i2c/busses/Kconfig | 22 +++++++++++-----------
>>  drivers/i2c/muxes/Kconfig  | 18 +++++++++---------
> 
> Peter, I'd like to apply this for 5.5. so we don't have to deal with
> whitespace conflicts during the next cycle. Are you fine with me picking
> it up for muxes?

Absolutely!

Acked-by: Peter Rosin <peda@axentia.se>

Cheers,
Peter

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

* Re: [PATCH v2] i2c: Fix Kconfig indentation
  2019-11-21  3:19 [PATCH v2] i2c: Fix Kconfig indentation Krzysztof Kozlowski
  2019-11-25 14:58 ` Wolfram Sang
@ 2019-11-25 16:14 ` Wolfram Sang
  1 sibling, 0 replies; 5+ messages in thread
From: Wolfram Sang @ 2019-11-25 16:14 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: linux-kernel, Peter Rosin, linux-i2c

[-- Attachment #1: Type: text/plain, Size: 317 bytes --]

On Thu, Nov 21, 2019 at 04:19:23AM +0100, Krzysztof Kozlowski wrote:
> 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 <krzk@kernel.org>
> 

Applied to for-next, thanks!


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH v2] i2c: Fix Kconfig indentation
  2019-11-25 16:01   ` Peter Rosin
@ 2019-11-25 16:14     ` Wolfram Sang
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfram Sang @ 2019-11-25 16:14 UTC (permalink / raw)
  To: Peter Rosin; +Cc: Krzysztof Kozlowski, linux-kernel, linux-i2c

[-- Attachment #1: Type: text/plain, Size: 214 bytes --]


> > Peter, I'd like to apply this for 5.5. so we don't have to deal with
> > whitespace conflicts during the next cycle. Are you fine with me picking
> > it up for muxes?
> 
> Absolutely!

Cool, thanks!


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2019-11-25 16:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-21  3:19 [PATCH v2] i2c: Fix Kconfig indentation Krzysztof Kozlowski
2019-11-25 14:58 ` Wolfram Sang
2019-11-25 16:01   ` Peter Rosin
2019-11-25 16:14     ` Wolfram Sang
2019-11-25 16:14 ` Wolfram Sang

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).