]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8d76a0890f15f7a49f81822b1d4da879694f961a
tree31ff8ddb397068559753d8dbe75a8769bf898f68
parent89d27d09764d78373a9cdee1378c8bce900181e6
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