Explorar o código

drm/rect: Fix formatting of example code

Drive-by polish.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1483044517-5770-9-git-send-email-daniel.vetter@ffwll.ch
Daniel Vetter %!s(int64=9) %!d(string=hai) anos
pai
achega
5edbfc474c
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      drivers/gpu/drm/drm_rect.c

+ 3 - 3
drivers/gpu/drm/drm_rect.c

@@ -371,10 +371,10 @@ EXPORT_SYMBOL(drm_rect_rotate);
  * to the vertical axis of the original untransformed
  * to the vertical axis of the original untransformed
  * coordinate space, so that you never have to flip
  * coordinate space, so that you never have to flip
  * them when doing a rotatation and its inverse.
  * them when doing a rotatation and its inverse.
- * That is, if you do:
+ * That is, if you do ::
  *
  *
- * drm_rotate(&r, width, height, rotation);
- * drm_rotate_inv(&r, width, height, rotation);
+ *     drm_rotate(&r, width, height, rotation);
+ *     drm_rotate_inv(&r, width, height, rotation);
  *
  *
  * you will always get back the original rectangle.
  * you will always get back the original rectangle.
  */
  */