]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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 17c6c3eefcd661dd0bd0d64cb12663d5a9b55a12..d021497841b84665b08db26088ec67eab9c5f45e 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;