diff mbox series

dt-bindings: display: panel: samsung, atna45dc02: Fix indentation

Message ID 20240808114407.1.I099e8e9e36407a0785d846b953031d40ea71e559@changeid (mailing list archive)
State New, archived
Headers show
Series dt-bindings: display: panel: samsung, atna45dc02: Fix indentation | expand

Commit Message

Doug Anderson Aug. 8, 2024, 6:44 p.m. UTC
The yaml had indentation errors:
  ./Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml:21:9:
  [warning] wrong indentation: expected 10 but found 8 (indentation)
  ./Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml:23:11:
  [warning] wrong indentation: expected 12 but found 10 (indentation)

Fix them.

Reported-by: Rob Herring <robh@kernel.org>
Closes: https://lore.kernel.org/r/CAL_JsqLRTgQRPcfXy4G9hLoHMd-Uax4_C90BV_OZn4mK+-82kw@mail.gmail.com
Fixes: 1c4a057d01f4 ("dt-bindings: display: panel: samsung,atna45dc02: Document ATNA45DC02")
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---

 .../bindings/display/panel/samsung,atna33xc20.yaml   | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Comments

Rob Clark Aug. 8, 2024, 6:47 p.m. UTC | #1
On Thu, Aug 8, 2024 at 11:44 AM Douglas Anderson <dianders@chromium.org> wrote:
>
> The yaml had indentation errors:
>   ./Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml:21:9:
>   [warning] wrong indentation: expected 10 but found 8 (indentation)
>   ./Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml:23:11:
>   [warning] wrong indentation: expected 12 but found 10 (indentation)
>
> Fix them.
>
> Reported-by: Rob Herring <robh@kernel.org>
> Closes: https://lore.kernel.org/r/CAL_JsqLRTgQRPcfXy4G9hLoHMd-Uax4_C90BV_OZn4mK+-82kw@mail.gmail.com
> Fixes: 1c4a057d01f4 ("dt-bindings: display: panel: samsung,atna45dc02: Document ATNA45DC02")
> Signed-off-by: Douglas Anderson <dianders@chromium.org>

Reviewed-by: Rob Clark <robdclark@gmail.com>
Thanked-by: Rob Clark <robdclark@gmail.com>

BR,
-R

> ---
>
>  .../bindings/display/panel/samsung,atna33xc20.yaml   | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml b/Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml
> index 87c601bcf20a..032f783eefc4 100644
> --- a/Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml
> @@ -18,12 +18,12 @@ properties:
>        # Samsung 13.3" FHD (1920x1080 pixels) eDP AMOLED panel
>        - const: samsung,atna33xc20
>        - items:
> -        - enum:
> -          # Samsung 14.5" WQXGA+ (2880x1800 pixels) eDP AMOLED panel
> -          - samsung,atna45af01
> -          # Samsung 14.5" 3K (2944x1840 pixels) eDP AMOLED panel
> -          - samsung,atna45dc02
> -        - const: samsung,atna33xc20
> +          - enum:
> +              # Samsung 14.5" WQXGA+ (2880x1800 pixels) eDP AMOLED panel
> +              - samsung,atna45af01
> +              # Samsung 14.5" 3K (2944x1840 pixels) eDP AMOLED panel
> +              - samsung,atna45dc02
> +          - const: samsung,atna33xc20
>
>    enable-gpios: true
>    port: true
> --
> 2.46.0.76.ge559c4bf1a-goog
>
Doug Anderson Aug. 8, 2024, 6:55 p.m. UTC | #2
Hi,

On Thu, Aug 8, 2024 at 11:47 AM Rob Clark <robdclark@chromium.org> wrote:
>
> On Thu, Aug 8, 2024 at 11:44 AM Douglas Anderson <dianders@chromium.org> wrote:
> >
> > The yaml had indentation errors:
> >   ./Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml:21:9:
> >   [warning] wrong indentation: expected 10 but found 8 (indentation)
> >   ./Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml:23:11:
> >   [warning] wrong indentation: expected 12 but found 10 (indentation)
> >
> > Fix them.
> >
> > Reported-by: Rob Herring <robh@kernel.org>
> > Closes: https://lore.kernel.org/r/CAL_JsqLRTgQRPcfXy4G9hLoHMd-Uax4_C90BV_OZn4mK+-82kw@mail.gmail.com
> > Fixes: 1c4a057d01f4 ("dt-bindings: display: panel: samsung,atna45dc02: Document ATNA45DC02")
> > Signed-off-by: Douglas Anderson <dianders@chromium.org>
>
> Reviewed-by: Rob Clark <robdclark@gmail.com>
> Thanked-by: Rob Clark <robdclark@gmail.com>

Pushed to drm-misc-fixes.

cd9aae921ab6 dt-bindings: display: panel: samsung,atna45dc02: Fix indentation
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml b/Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml
index 87c601bcf20a..032f783eefc4 100644
--- a/Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml
+++ b/Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml
@@ -18,12 +18,12 @@  properties:
       # Samsung 13.3" FHD (1920x1080 pixels) eDP AMOLED panel
       - const: samsung,atna33xc20
       - items:
-        - enum:
-          # Samsung 14.5" WQXGA+ (2880x1800 pixels) eDP AMOLED panel
-          - samsung,atna45af01
-          # Samsung 14.5" 3K (2944x1840 pixels) eDP AMOLED panel
-          - samsung,atna45dc02
-        - const: samsung,atna33xc20
+          - enum:
+              # Samsung 14.5" WQXGA+ (2880x1800 pixels) eDP AMOLED panel
+              - samsung,atna45af01
+              # Samsung 14.5" 3K (2944x1840 pixels) eDP AMOLED panel
+              - samsung,atna45dc02
+          - const: samsung,atna33xc20
 
   enable-gpios: true
   port: true