]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fb: hx8357: Use static arrays for LCD configuration
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 20 Feb 2013 02:15:29 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:16 +0000 (16:53 +1100)
commit60f40b86f7e9cb23c1cf2c4fd465b5b1ab96dd88
tree3061d698cc970e042be4aea322228d6d9867bbd1
parent28c30352ffea699dbbf5059317efb0a96ed117ef
fb: hx8357: Use static arrays for LCD configuration

This allows a smaller and less error-prone code by using static arrays
and the ARRAY_SIZE macro.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Jingoo Han <jg1.han@samsung.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/hx8357.c