diff mbox series

drm/vc4: Fix Kconfig indentation

Message ID 20191121132919.29430-1-krzk@kernel.org (mailing list archive)
State New, archived
Headers show
Series drm/vc4: Fix Kconfig indentation | expand

Commit Message

Krzysztof Kozlowski Nov. 21, 2019, 1:29 p.m. UTC
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>
---
 drivers/gpu/drm/vc4/Kconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Daniel Vetter Nov. 25, 2019, 9:04 a.m. UTC | #1
On Thu, Nov 21, 2019 at 09:29:19PM +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 <krzk@kernel.org>

Queued in drm-misc-next for 5.6, thanks for your patch.
-Daniel

> ---
>  drivers/gpu/drm/vc4/Kconfig | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/vc4/Kconfig b/drivers/gpu/drm/vc4/Kconfig
> index 7c2317efd5b7..118e8a426b1a 100644
> --- a/drivers/gpu/drm/vc4/Kconfig
> +++ b/drivers/gpu/drm/vc4/Kconfig
> @@ -22,9 +22,9 @@ config DRM_VC4
>  	  our display setup.
>  
>  config DRM_VC4_HDMI_CEC
> -       bool "Broadcom VC4 HDMI CEC Support"
> -       depends on DRM_VC4
> -       select CEC_CORE
> -       help
> +	bool "Broadcom VC4 HDMI CEC Support"
> +	depends on DRM_VC4
> +	select CEC_CORE
> +	help
>  	  Choose this option if you have a Broadcom VC4 GPU
>  	  and want to use CEC.
> -- 
> 2.17.1
>
Jani Nikula Nov. 27, 2019, 1:13 p.m. UTC | #2
On Thu, 21 Nov 2019, Krzysztof Kozlowski <krzk@kernel.org> wrote:
> Adjust indentation from spaces to tab (+optional two spaces) as in
> coding style with command like:
> 	$ sed -e 's/^        /\t/' -i */Kconfig

Btw have you updated checkpatch.pl to try to keep the Kconfigs from
bitrotting back to having different indentation? Or the config tools?

BR,
Jani.


>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
>  drivers/gpu/drm/vc4/Kconfig | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/gpu/drm/vc4/Kconfig b/drivers/gpu/drm/vc4/Kconfig
> index 7c2317efd5b7..118e8a426b1a 100644
> --- a/drivers/gpu/drm/vc4/Kconfig
> +++ b/drivers/gpu/drm/vc4/Kconfig
> @@ -22,9 +22,9 @@ config DRM_VC4
>  	  our display setup.
>  
>  config DRM_VC4_HDMI_CEC
> -       bool "Broadcom VC4 HDMI CEC Support"
> -       depends on DRM_VC4
> -       select CEC_CORE
> -       help
> +	bool "Broadcom VC4 HDMI CEC Support"
> +	depends on DRM_VC4
> +	select CEC_CORE
> +	help
>  	  Choose this option if you have a Broadcom VC4 GPU
>  	  and want to use CEC.
Krzysztof Kozlowski Nov. 28, 2019, 2:01 a.m. UTC | #3
On Wed, 27 Nov 2019 at 21:14, Jani Nikula <jani.nikula@linux.intel.com> wrote:
>
> On Thu, 21 Nov 2019, Krzysztof Kozlowski <krzk@kernel.org> wrote:
> > Adjust indentation from spaces to tab (+optional two spaces) as in
> > coding style with command like:
> >       $ sed -e 's/^        /\t/' -i */Kconfig
>
> Btw have you updated checkpatch.pl to try to keep the Kconfigs from
> bitrotting back to having different indentation? Or the config tools?

Perl is not my domain but I can try. Let's see...

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/drivers/gpu/drm/vc4/Kconfig b/drivers/gpu/drm/vc4/Kconfig
index 7c2317efd5b7..118e8a426b1a 100644
--- a/drivers/gpu/drm/vc4/Kconfig
+++ b/drivers/gpu/drm/vc4/Kconfig
@@ -22,9 +22,9 @@  config DRM_VC4
 	  our display setup.
 
 config DRM_VC4_HDMI_CEC
-       bool "Broadcom VC4 HDMI CEC Support"
-       depends on DRM_VC4
-       select CEC_CORE
-       help
+	bool "Broadcom VC4 HDMI CEC Support"
+	depends on DRM_VC4
+	select CEC_CORE
+	help
 	  Choose this option if you have a Broadcom VC4 GPU
 	  and want to use CEC.