Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+2 -2
+2 -2
drivers/gpu/drm/drm_rect.c
··· 373 373 * them when doing a rotatation and its inverse. 374 374 * That is, if you do :: 375 375 * 376 - * DRM_MODE_PROP_ROTATE(&r, width, height, rotation); 377 - * DRM_MODE_ROTATE_inv(&r, width, height, rotation); 376 + * drm_rect_rotate(&r, width, height, rotation); 377 + * drm_rect_rotate_inv(&r, width, height, rotation); 378 378 * 379 379 * you will always get back the original rectangle. 380 380 */