drm: fix code style for embedded structs in hdr_metadata_infoframe
authorSimon Ser <contact@emersion.fr>
Fri, 28 Apr 2023 10:01:24 +0000 (10:01 +0000)
committerSimon Ser <contact@emersion.fr>
Fri, 23 Jun 2023 13:52:41 +0000 (15:52 +0200)
Only the stuff inside the brackets should be indented.

Signed-off-by: Simon Ser <contact@emersion.fr>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Sebastian Wick <sebastian.wick@redhat.com>
Cc: Joshua Ashton <joshua@froggi.es>
Cc: Pekka Paalanen <pekka.paalanen@collabora.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230428100115.9802-1-contact@emersion.fr
include/uapi/drm/drm_mode.h

index 4369105..92d96a2 100644 (file)
@@ -883,7 +883,7 @@ struct hdr_metadata_infoframe {
         */
        struct {
                __u16 x, y;
-               } display_primaries[3];
+       } display_primaries[3];
        /**
         * @white_point: White Point of Colorspace Data.
         * These are coded as unsigned 16-bit values in units of
@@ -894,7 +894,7 @@ struct hdr_metadata_infoframe {
         */
        struct {
                __u16 x, y;
-               } white_point;
+       } white_point;
        /**
         * @max_display_mastering_luminance: Max Mastering Display Luminance.
         * This value is coded as an unsigned 16-bit value in units of 1 cd/m2,