]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: change coding style of the write_infoframe functions
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 4 May 2012 20:18:17 +0000 (17:18 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 May 2012 12:02:43 +0000 (14:02 +0200)
commit60ce19abb5e9b168e408931ff69e69d311ef8d87
treecf65a9211407a2209672992cd3fdea76fbd6bc0a
parent77d63d008c4b1ee53625aed8f0eaa3ee1bfe1cfb
drm/i915: change coding style of the write_infoframe functions

Don't use intermediate variables, change the value of 'val' as we go
through the function. The new style looks more similar to the rest of
our code. IMHO, it's also easier to read and change.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_hdmi.c