]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: cleanup some indenting
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 25 Feb 2015 13:17:48 +0000 (16:17 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 Feb 2015 13:54:03 +0000 (14:54 +0100)
commit1cf5f9346899e548a173a84ae0be3d107cee5fe4
treeca69a3fefc20257e3cac28ce2e2f60f87cc3d79a
parenta511600cdf31fb5f61fddf993dc727bc0f508747
drm/i915: cleanup some indenting

Static checkers complain that we should probably add curly braces
because, from the indenting, it looks like seq_printf() should be inside
the list_for_each_entry() loop.  But the code is actually correct, it's
just the indenting which is off.

Besides fixing the indenting on seq_printf(), I did add curly braces,
because generally mult-line indents should have curly braces to make
them more readable.

The unintended indent was left behind and not unindented in

commit efbfaf023db71b1484c96ee20066ad8828da63b5
Author: Ben Widawsky <benjamin.widawsky@intel.com>
Date:   Fri Dec 6 14:10:55 2013 -0800

    drm/i915: Make pin count per VMA
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c