drm/i915: Add some curly braces
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 5 Aug 2016 17:41:34 +0000 (20:41 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 5 Aug 2016 17:41:34 +0000 (20:41 +0300)
commit09fa8bb9094569941661ed2a1dc0ff4bd37a0d7d
tree31ff8ddb397068559753d8dbe75a8769bf898f68
parent5a198b8c53e68b6e4737b6890995e676d856c9ed
drm/i915: Add some curly braces

intel_enable_pipe() looks rather confusing when one side doesn't have
the curly braces, and the other one does. And what's even worse,
there's another if-else inside the braceless side. Let's put braces
around it to make it clear which branch goes where.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470418894-1249-1-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c