]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commit934a50bd089789d1ed74f0bef4988a97bd590afe
tree2af235ab1cf16bc5cf7f9226e24de746346053d8
parent557b7d5d0787997247a798e6f46541fe9dc977fa
atmel_lcdfb: move lcdcon2 register access to compute_hozval

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>
drivers/video/atmel_lcdfb.c