drm/rect: Fix drm_rect_rotation_inv() docs
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 26 Apr 2018 14:16:31 +0000 (17:16 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 2 May 2018 20:02:22 +0000 (23:02 +0300)
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>
drivers/gpu/drm/drm_rect.c

index 9817c1445ba9ea8f97a1c0fbcfd75851d7f271fd..a3783ecea297a4fa4da5092e6c87b5f35160fec1 100644 (file)
@@ -373,8 +373,8 @@ EXPORT_SYMBOL(drm_rect_rotate);
  * them when doing a rotatation and its inverse.
  * That is, if you do ::
  *
- *     DRM_MODE_PROP_ROTATE(&r, width, height, rotation);
- *     DRM_MODE_ROTATE_inv(&r, width, height, rotation);
+ *     drm_rect_rotate(&r, width, height, rotation);
+ *     drm_rect_rotate_inv(&r, width, height, rotation);
  *
  * you will always get back the original rectangle.
  */