drm: Fix plane SIZE_HINTS property docs
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 18 Apr 2024 11:42:18 +0000 (14:42 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 22 Apr 2024 08:42:32 +0000 (11:42 +0300)
Fix the typos in the plane SIZE_HINTS kernel docs.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 9677547d8362 ("drm: Introduce plane SIZE_HINTS property")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240418114218.9162-1-ville.syrjala@linux.intel.com
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/drm_plane.c
include/drm/drm_mode_config.h

index eecc24c54efdf2abef330769f524b8dbf98bb06b..57662a1fd34552c129f884bd0a1436816ac5b7cb 100644 (file)
@@ -1750,7 +1750,7 @@ int drm_plane_create_scaling_filter_property(struct drm_plane *plane,
 EXPORT_SYMBOL(drm_plane_create_scaling_filter_property);
 
 /**
- * drm_plane_add_size_hint_property - create a size hint property
+ * drm_plane_add_size_hints_property - create a size hints property
  *
  * @plane: drm plane
  * @hints: size hints
index 06d7777a881f02b421f4213ff7bb1cf16c567d4f..8de3c9a5f61b5079f960d21efaee4bbe61d48867 100644 (file)
@@ -953,7 +953,7 @@ struct drm_mode_config {
        struct drm_property *modifiers_property;
 
        /**
-        * @size_hints_propertty: Plane SIZE_HINTS property.
+        * @size_hints_property: Plane SIZE_HINTS property.
         */
        struct drm_property *size_hints_property;