Linux Input Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH v2] input: Fix Kconfig indentation
@ 2019-11-21  3:19 Krzysztof Kozlowski
  2019-11-22 22:52 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2019-11-21  3:19 UTC (permalink / raw)
  To: linux-kernel; +Cc: Krzysztof Kozlowski, Dmitry Torokhov, linux-input

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/input/keyboard/Kconfig    | 16 ++++++++--------
 drivers/input/mouse/Kconfig       | 16 ++++++++--------
 drivers/input/tablet/Kconfig      | 20 ++++++++++----------
 drivers/input/touchscreen/Kconfig |  2 +-
 4 files changed, 27 insertions(+), 27 deletions(-)

diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
index 1ddfc2413035..36067ed1160d 100644
--- a/drivers/input/keyboard/Kconfig
+++ b/drivers/input/keyboard/Kconfig
@@ -167,14 +167,14 @@ config KEYBOARD_QT1050
 	  the module will be called qt1050
 
 config KEYBOARD_QT1070
-       tristate "Atmel AT42QT1070 Touch Sensor Chip"
-       depends on I2C
-       help
-         Say Y here if you want to use Atmel AT42QT1070 QTouch
-         Sensor chip as input device.
-
-         To compile this driver as a module, choose M here:
-         the module will be called qt1070
+	tristate "Atmel AT42QT1070 Touch Sensor Chip"
+	depends on I2C
+	help
+	 Say Y here if you want to use Atmel AT42QT1070 QTouch
+	 Sensor chip as input device.
+
+	 To compile this driver as a module, choose M here:
+	 the module will be called qt1070
 
 config KEYBOARD_QT2160
 	tristate "Atmel AT42QT2160 Touch Sensor Chip"
diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig
index bf738d3b7fe4..6e1ff481c977 100644
--- a/drivers/input/mouse/Kconfig
+++ b/drivers/input/mouse/Kconfig
@@ -92,14 +92,14 @@ config MOUSE_PS2_SYNAPTICS_SMBUS
 	  If unsure, say Y.
 
 config MOUSE_PS2_CYPRESS
-       bool "Cypress PS/2 mouse protocol extension" if EXPERT
-       default y
-       depends on MOUSE_PS2
-       help
-         Say Y here if you have a Cypress PS/2 Trackpad connected to
-         your system.
-
-         If unsure, say Y.
+	bool "Cypress PS/2 mouse protocol extension" if EXPERT
+	default y
+	depends on MOUSE_PS2
+	help
+	 Say Y here if you have a Cypress PS/2 Trackpad connected to
+	 your system.
+
+	 If unsure, say Y.
 
 config MOUSE_PS2_LIFEBOOK
 	bool "Fujitsu Lifebook PS/2 mouse protocol extension" if EXPERT
diff --git a/drivers/input/tablet/Kconfig b/drivers/input/tablet/Kconfig
index e4c0d9a055b9..51c339182017 100644
--- a/drivers/input/tablet/Kconfig
+++ b/drivers/input/tablet/Kconfig
@@ -39,16 +39,16 @@ config TABLET_USB_AIPTEK
 	  module will be called aiptek.
 
 config TABLET_USB_GTCO
-        tristate "GTCO CalComp/InterWrite USB Support"
-        depends on USB && INPUT
-        help
-          Say Y here if you want to use the USB version of the GTCO
-          CalComp/InterWrite Tablet.  Make sure to say Y to "Mouse support"
-          (CONFIG_INPUT_MOUSEDEV) and/or "Event interface support"
-          (CONFIG_INPUT_EVDEV) as well.
-
-          To compile this driver as a module, choose M here: the
-          module will be called gtco.
+	tristate "GTCO CalComp/InterWrite USB Support"
+	depends on USB && INPUT
+	help
+	  Say Y here if you want to use the USB version of the GTCO
+	  CalComp/InterWrite Tablet.  Make sure to say Y to "Mouse support"
+	  (CONFIG_INPUT_MOUSEDEV) and/or "Event interface support"
+	  (CONFIG_INPUT_EVDEV) as well.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called gtco.
 
 config TABLET_USB_HANWANG
 	tristate "Hanwang Art Master III tablet support (USB)"
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 40bfc551ce30..c071f7c407b6 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -633,7 +633,7 @@ config TOUCHSCREEN_HP600
 	depends on SH_HP6XX && SH_ADC
 	help
 	  Say Y here if you have a HP Jornada 620/660/680/690 and want to
-          support the built-in touchscreen.
+	  support the built-in touchscreen.
 
 	  To compile this driver as a module, choose M here: the
 	  module will be called hp680_ts_input.
-- 
2.7.4


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

* Re: [PATCH v2] input: Fix Kconfig indentation
  2019-11-21  3:19 [PATCH v2] input: Fix Kconfig indentation Krzysztof Kozlowski
@ 2019-11-22 22:52 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2019-11-22 22:52 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: linux-kernel, linux-input

On Thu, Nov 21, 2019 at 04:19:33AM +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, thank you.

> ---
> 
> Changes since v1:
> 1. Fix also 7-space and tab+1 space indentation issues.
> ---
>  drivers/input/keyboard/Kconfig    | 16 ++++++++--------
>  drivers/input/mouse/Kconfig       | 16 ++++++++--------
>  drivers/input/tablet/Kconfig      | 20 ++++++++++----------
>  drivers/input/touchscreen/Kconfig |  2 +-
>  4 files changed, 27 insertions(+), 27 deletions(-)
> 
> diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
> index 1ddfc2413035..36067ed1160d 100644
> --- a/drivers/input/keyboard/Kconfig
> +++ b/drivers/input/keyboard/Kconfig
> @@ -167,14 +167,14 @@ config KEYBOARD_QT1050
>  	  the module will be called qt1050
>  
>  config KEYBOARD_QT1070
> -       tristate "Atmel AT42QT1070 Touch Sensor Chip"
> -       depends on I2C
> -       help
> -         Say Y here if you want to use Atmel AT42QT1070 QTouch
> -         Sensor chip as input device.
> -
> -         To compile this driver as a module, choose M here:
> -         the module will be called qt1070
> +	tristate "Atmel AT42QT1070 Touch Sensor Chip"
> +	depends on I2C
> +	help
> +	 Say Y here if you want to use Atmel AT42QT1070 QTouch
> +	 Sensor chip as input device.
> +
> +	 To compile this driver as a module, choose M here:
> +	 the module will be called qt1070
>  
>  config KEYBOARD_QT2160
>  	tristate "Atmel AT42QT2160 Touch Sensor Chip"
> diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig
> index bf738d3b7fe4..6e1ff481c977 100644
> --- a/drivers/input/mouse/Kconfig
> +++ b/drivers/input/mouse/Kconfig
> @@ -92,14 +92,14 @@ config MOUSE_PS2_SYNAPTICS_SMBUS
>  	  If unsure, say Y.
>  
>  config MOUSE_PS2_CYPRESS
> -       bool "Cypress PS/2 mouse protocol extension" if EXPERT
> -       default y
> -       depends on MOUSE_PS2
> -       help
> -         Say Y here if you have a Cypress PS/2 Trackpad connected to
> -         your system.
> -
> -         If unsure, say Y.
> +	bool "Cypress PS/2 mouse protocol extension" if EXPERT
> +	default y
> +	depends on MOUSE_PS2
> +	help
> +	 Say Y here if you have a Cypress PS/2 Trackpad connected to
> +	 your system.
> +
> +	 If unsure, say Y.
>  
>  config MOUSE_PS2_LIFEBOOK
>  	bool "Fujitsu Lifebook PS/2 mouse protocol extension" if EXPERT
> diff --git a/drivers/input/tablet/Kconfig b/drivers/input/tablet/Kconfig
> index e4c0d9a055b9..51c339182017 100644
> --- a/drivers/input/tablet/Kconfig
> +++ b/drivers/input/tablet/Kconfig
> @@ -39,16 +39,16 @@ config TABLET_USB_AIPTEK
>  	  module will be called aiptek.
>  
>  config TABLET_USB_GTCO
> -        tristate "GTCO CalComp/InterWrite USB Support"
> -        depends on USB && INPUT
> -        help
> -          Say Y here if you want to use the USB version of the GTCO
> -          CalComp/InterWrite Tablet.  Make sure to say Y to "Mouse support"
> -          (CONFIG_INPUT_MOUSEDEV) and/or "Event interface support"
> -          (CONFIG_INPUT_EVDEV) as well.
> -
> -          To compile this driver as a module, choose M here: the
> -          module will be called gtco.
> +	tristate "GTCO CalComp/InterWrite USB Support"
> +	depends on USB && INPUT
> +	help
> +	  Say Y here if you want to use the USB version of the GTCO
> +	  CalComp/InterWrite Tablet.  Make sure to say Y to "Mouse support"
> +	  (CONFIG_INPUT_MOUSEDEV) and/or "Event interface support"
> +	  (CONFIG_INPUT_EVDEV) as well.
> +
> +	  To compile this driver as a module, choose M here: the
> +	  module will be called gtco.
>  
>  config TABLET_USB_HANWANG
>  	tristate "Hanwang Art Master III tablet support (USB)"
> diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
> index 40bfc551ce30..c071f7c407b6 100644
> --- a/drivers/input/touchscreen/Kconfig
> +++ b/drivers/input/touchscreen/Kconfig
> @@ -633,7 +633,7 @@ config TOUCHSCREEN_HP600
>  	depends on SH_HP6XX && SH_ADC
>  	help
>  	  Say Y here if you have a HP Jornada 620/660/680/690 and want to
> -          support the built-in touchscreen.
> +	  support the built-in touchscreen.
>  
>  	  To compile this driver as a module, choose M here: the
>  	  module will be called hp680_ts_input.
> -- 
> 2.7.4
> 

-- 
Dmitry

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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-21  3:19 [PATCH v2] input: Fix Kconfig indentation Krzysztof Kozlowski
2019-11-22 22:52 ` Dmitry Torokhov

Linux Input Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-input/0 linux-input/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-input linux-input/ https://lore.kernel.org/linux-input \
		linux-input@vger.kernel.org
	public-inbox-index linux-input

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-input


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git