summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2018-04-26 10:16:31 -0400
committerVille Syrjälä <ville.syrjala@linux.intel.com>2018-05-02 16:02:22 -0400
commitec66723197103eebd7f7099df6d5ea23deff679b (patch)
tree074f6930fd52df197780d057c5e00c1a9f6a6008
parent57450671776b37d7c81cd52a89982c14bca46cfc (diff)
drm/rect: Fix drm_rect_rotation_inv() docs
An overeager sed has corrupted the drm_rect_rotation_inv() documentation. Fix it up. Looks like it wasn't entirely correct before the sed fail either. We were missing _rect_ from the function names, which also explains why the sed hit these by accident. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180426141631.15798-1-ville.syrjala@linux.intel.com Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--drivers/gpu/drm/drm_rect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_rect.c b/drivers/gpu/drm/drm_rect.c
index 9817c1445ba9..a3783ecea297 100644
--- a/drivers/gpu/drm/drm_rect.c
+++ b/drivers/gpu/drm/drm_rect.c
@@ -373,8 +373,8 @@ EXPORT_SYMBOL(drm_rect_rotate);
373 * them when doing a rotatation and its inverse. 373 * them when doing a rotatation and its inverse.
374 * That is, if you do :: 374 * That is, if you do ::
375 * 375 *
376 * DRM_MODE_PROP_ROTATE(&r, width, height, rotation); 376 * drm_rect_rotate(&r, width, height, rotation);
377 * DRM_MODE_ROTATE_inv(&r, width, height, rotation); 377 * drm_rect_rotate_inv(&r, width, height, rotation);
378 * 378 *
379 * you will always get back the original rectangle. 379 * you will always get back the original rectangle.
380 */ 380 */