]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit22509ec8676fdbba8da525b9ec9cb3ddb4cb71b0
treecf65a9211407a2209672992cd3fdea76fbd6bc0a
parent837ba00f20aa47018a3317bc7c1f058be0a92e39
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