drm/print: Add drm_printf_indent()
authorNoralf Trønnes <noralf@tronnes.org>
Tue, 7 Nov 2017 19:13:39 +0000 (20:13 +0100)
committerNoralf Trønnes <noralf@tronnes.org>
Sat, 11 Nov 2017 10:20:32 +0000 (11:20 +0100)
commitbf6234a294c5b8bcc6f47ecdb646f41ad5efddd3
tree91b065ae23a60e57616032738034a7d31e9fb632
parent6ff1086e21e5b1d6239e2c47267d21dc19b6e801
drm/print: Add drm_printf_indent()

Add drm_printf_indent() that adds tab indentation according to argument.
Indentation overflow is marked with an X.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171107191348.17555-4-noralf@tronnes.org
include/drm/drm_print.h