]> 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)
commit8d5a1e1882d0f8cc2be950368d42e3bf237f7aa2
treecf65a9211407a2209672992cd3fdea76fbd6bc0a
parent890980e79eef63031279acac2349647df13d7520
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