2019-11-20 13:45:08

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH] drm/omap: 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/gpu/drm/omapdrm/displays/Kconfig | 6 +++---
drivers/gpu/drm/omapdrm/dss/Kconfig | 12 ++++++------
2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/drivers/gpu/drm/omapdrm/displays/Kconfig b/drivers/gpu/drm/omapdrm/displays/Kconfig
index 240dda102845..b562a8cd61bf 100644
--- a/drivers/gpu/drm/omapdrm/displays/Kconfig
+++ b/drivers/gpu/drm/omapdrm/displays/Kconfig
@@ -8,18 +8,18 @@ config DRM_OMAP_ENCODER_OPA362
through a GPIO.

config DRM_OMAP_ENCODER_TPD12S015
- tristate "TPD12S015 HDMI ESD protection and level shifter"
+ tristate "TPD12S015 HDMI ESD protection and level shifter"
help
Driver for TPD12S015, which offers HDMI ESD protection and level
shifting.

config DRM_OMAP_CONNECTOR_HDMI
- tristate "HDMI Connector"
+ tristate "HDMI Connector"
help
Driver for a generic HDMI connector.

config DRM_OMAP_CONNECTOR_ANALOG_TV
- tristate "Analog TV Connector"
+ tristate "Analog TV Connector"
help
Driver for a generic analog TV connector.

diff --git a/drivers/gpu/drm/omapdrm/dss/Kconfig b/drivers/gpu/drm/omapdrm/dss/Kconfig
index 956f23e1452d..72ae79c0c9b4 100644
--- a/drivers/gpu/drm/omapdrm/dss/Kconfig
+++ b/drivers/gpu/drm/omapdrm/dss/Kconfig
@@ -6,12 +6,12 @@ config OMAP_DSS_BASE
tristate

menuconfig OMAP2_DSS
- tristate "OMAP2+ Display Subsystem support"
+ tristate "OMAP2+ Display Subsystem support"
select OMAP_DSS_BASE
select VIDEOMODE_HELPERS
select OMAP2_DSS_INIT
select HDMI
- help
+ help
OMAP2+ Display Subsystem support.

if OMAP2_DSS
@@ -52,7 +52,7 @@ config OMAP2_DSS_DPI

config OMAP2_DSS_VENC
bool "VENC support"
- default y
+ default y
help
OMAP Video Encoder support for S-Video and composite TV-out.

@@ -61,7 +61,7 @@ config OMAP2_DSS_HDMI_COMMON

config OMAP4_DSS_HDMI
bool "HDMI support for OMAP4"
- default y
+ default y
select OMAP2_DSS_HDMI_COMMON
help
HDMI support for OMAP4 based SoCs.
@@ -85,7 +85,7 @@ config OMAP5_DSS_HDMI

config OMAP2_DSS_SDI
bool "SDI support"
- default n
+ default n
help
SDI (Serial Display Interface) support.

@@ -94,7 +94,7 @@ config OMAP2_DSS_SDI

config OMAP2_DSS_DSI
bool "DSI support"
- default n
+ default n
help
MIPI DSI (Display Serial Interface) support.

--
2.17.1



2019-11-20 17:38:56

by Daniel Vetter

[permalink] [raw]
Subject: Re: [PATCH] drm/omap: Fix Kconfig indentation

On Wed, Nov 20, 2019 at 09:36:14PM +0800, 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 <[email protected]>

Queued for 5.6 in drm-misc, thanks for your patch.
-Daniel
> ---
> drivers/gpu/drm/omapdrm/displays/Kconfig | 6 +++---
> drivers/gpu/drm/omapdrm/dss/Kconfig | 12 ++++++------
> 2 files changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/drivers/gpu/drm/omapdrm/displays/Kconfig b/drivers/gpu/drm/omapdrm/displays/Kconfig
> index 240dda102845..b562a8cd61bf 100644
> --- a/drivers/gpu/drm/omapdrm/displays/Kconfig
> +++ b/drivers/gpu/drm/omapdrm/displays/Kconfig
> @@ -8,18 +8,18 @@ config DRM_OMAP_ENCODER_OPA362
> through a GPIO.
>
> config DRM_OMAP_ENCODER_TPD12S015
> - tristate "TPD12S015 HDMI ESD protection and level shifter"
> + tristate "TPD12S015 HDMI ESD protection and level shifter"
> help
> Driver for TPD12S015, which offers HDMI ESD protection and level
> shifting.
>
> config DRM_OMAP_CONNECTOR_HDMI
> - tristate "HDMI Connector"
> + tristate "HDMI Connector"
> help
> Driver for a generic HDMI connector.
>
> config DRM_OMAP_CONNECTOR_ANALOG_TV
> - tristate "Analog TV Connector"
> + tristate "Analog TV Connector"
> help
> Driver for a generic analog TV connector.
>
> diff --git a/drivers/gpu/drm/omapdrm/dss/Kconfig b/drivers/gpu/drm/omapdrm/dss/Kconfig
> index 956f23e1452d..72ae79c0c9b4 100644
> --- a/drivers/gpu/drm/omapdrm/dss/Kconfig
> +++ b/drivers/gpu/drm/omapdrm/dss/Kconfig
> @@ -6,12 +6,12 @@ config OMAP_DSS_BASE
> tristate
>
> menuconfig OMAP2_DSS
> - tristate "OMAP2+ Display Subsystem support"
> + tristate "OMAP2+ Display Subsystem support"
> select OMAP_DSS_BASE
> select VIDEOMODE_HELPERS
> select OMAP2_DSS_INIT
> select HDMI
> - help
> + help
> OMAP2+ Display Subsystem support.
>
> if OMAP2_DSS
> @@ -52,7 +52,7 @@ config OMAP2_DSS_DPI
>
> config OMAP2_DSS_VENC
> bool "VENC support"
> - default y
> + default y
> help
> OMAP Video Encoder support for S-Video and composite TV-out.
>
> @@ -61,7 +61,7 @@ config OMAP2_DSS_HDMI_COMMON
>
> config OMAP4_DSS_HDMI
> bool "HDMI support for OMAP4"
> - default y
> + default y
> select OMAP2_DSS_HDMI_COMMON
> help
> HDMI support for OMAP4 based SoCs.
> @@ -85,7 +85,7 @@ config OMAP5_DSS_HDMI
>
> config OMAP2_DSS_SDI
> bool "SDI support"
> - default n
> + default n
> help
> SDI (Serial Display Interface) support.
>
> @@ -94,7 +94,7 @@ config OMAP2_DSS_SDI
>
> config OMAP2_DSS_DSI
> bool "DSI support"
> - default n
> + default n
> help
> MIPI DSI (Display Serial Interface) support.
>
> --
> 2.17.1
>

--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch