diff mbox series

drm: fix whitespace in drm_plane_create_color_properties()

Message ID 20220803204240.33409-1-contact@emersion.fr (mailing list archive)
State New, archived
Headers show
Series drm: fix whitespace in drm_plane_create_color_properties() | expand

Commit Message

Simon Ser Aug. 3, 2022, 8:42 p.m. UTC
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>
---
 drivers/gpu/drm/drm_color_mgmt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jani Nikula Aug. 4, 2022, 9:39 a.m. UTC | #1
On Wed, 03 Aug 2022, Simon Ser <contact@emersion.fr> wrote:
> 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>

> ---
>  drivers/gpu/drm/drm_color_mgmt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/drm_color_mgmt.c b/drivers/gpu/drm/drm_color_mgmt.c
> index 17c6c3eefcd6..d021497841b8 100644
> --- a/drivers/gpu/drm/drm_color_mgmt.c
> +++ b/drivers/gpu/drm/drm_color_mgmt.c
> @@ -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;
diff mbox series

Patch

diff --git a/drivers/gpu/drm/drm_color_mgmt.c b/drivers/gpu/drm/drm_color_mgmt.c
index 17c6c3eefcd6..d021497841b8 100644
--- a/drivers/gpu/drm/drm_color_mgmt.c
+++ b/drivers/gpu/drm/drm_color_mgmt.c
@@ -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;