Skip to contentSkip to conversation

drm: fix whitespace in drm_plane_create_color_properties()

PATCH In review Simon Ser 2 participants 2 messages Aug 3, 2022 – Aug 4, 2022

Subsystems (2)
lore
Share & tools
lore

Simon Ser

author
#0 lore raw

PATCH 1/1 drm: fix whitespace in drm_plane_create_color_properties()

The drm_property_create_enum() call for "COLOR_RANGE" contains a tab character in the middle of the argument list.

---
 drivers/gpu/drm/drm_color_mgmt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/drm_color_mgmt.c +1 -1
index 17c6c3eefcd6..d021497841b8 100644
@@ -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;
Signature · 1 line
2.37.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Simon Ser

The drm_property_create_enum() call for "COLOR_RANGE" contains a tab character in the middle of the argument list.

Quoted 17 lines
---
 drivers/gpu/drm/drm_color_mgmt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/drm_color_mgmt.c +1 -1
index 17c6c3eefcd6..d021497841b8 100644
@@ -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;
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center