drm: fix whitespace in drm_plane_create_color_properties()
authorSimon Ser <contact@emersion.fr>
Wed, 3 Aug 2022 20:42:47 +0000 (20:42 +0000)
committerSimon Ser <contact@emersion.fr>
Thu, 4 Aug 2022 13:24:46 +0000 (15:24 +0200)
The drm_property_create_enum() call for "COLOR_RANGE" contains a tab
character in the middle of the argument list.

Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220803204240.33409-1-contact@emersion.fr
drivers/gpu/drm/drm_color_mgmt.c

index 17c6c3e..d021497 100644 (file)
@@ -575,7 +575,7 @@ int drm_plane_create_color_properties(struct drm_plane *plane,
                len++;
        }
 
-       prop = drm_property_create_enum(dev, 0, "COLOR_RANGE",
+       prop = drm_property_create_enum(dev, 0, "COLOR_RANGE",
                                        enum_list, len);
        if (!prop)
                return -ENOMEM;