atmel_lcdfb: move lcdcon2 register access to compute_hozval
authorJohan Hovold <jhovold@gmail.com>
Thu, 7 Feb 2013 15:31:57 +0000 (16:31 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 13 Mar 2013 10:05:12 +0000 (11:05 +0100)
Pass atmel_lcd_info structure to compute_hozval and only do the register
access on SOCs that actually use it.

This will also simplify the removal of the cpu_is macros.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>

No differences found