imx-drm: imx-hdmi: clean up setting CSC registers
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Nov 2013 12:10:40 +0000 (12:10 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 24 Feb 2014 12:03:40 +0000 (12:03 +0000)
commitc082f9d7151907da5230f1f20c8da83c9d3188bf
tree80455bc89b83c6e40e2e24221ccd9c4fd02ca508
parent3e46f15211fc92812555dac5af765f88b0bfafbd
imx-drm: imx-hdmi: clean up setting CSC registers

Rather than manually writing each register sequentially, we can use a
loop to reduce the amount of code.

Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/staging/imx-drm/imx-hdmi.c