]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 4737/1: Refactor corgi_lcd to improve readability + bugfix
authorRichard Purdie <rpurdie@rpsys.net>
Wed, 2 Jan 2008 00:09:54 +0000 (01:09 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 28 Jan 2008 13:13:25 +0000 (13:13 +0000)
commitca4d6cfcee0cb2d25c0eb3b0172ecc6f223133ef
tree5bfcb4419f27b20782b76b81ae7f341bcd507e1b
parent2e927b76267a57a44c018ffcc64cde5fedde1fcf
[ARM] 4737/1: Refactor corgi_lcd to improve readability + bugfix

This patch refactors the code in corgi_lcd.c moving it to the board
specific corgi and spitz files where appropriate instead of the
existing ifdef mess which hinders readability.

Fix spitz_get_hsync_len() to call get_hsync_invperiod so pxafb can be
compiled as a module.

The confusing variables which represent the inverse horizintal sync
period are renamed to "invperiod" consistently.

An incorrect comment in corgi_ts.c is also corrected.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/corgi.c
arch/arm/mach-pxa/corgi_lcd.c
arch/arm/mach-pxa/sharpsl.h
arch/arm/mach-pxa/spitz.c
drivers/input/touchscreen/corgi_ts.c
include/asm-arm/arch-pxa/corgi.h
include/asm-arm/arch-pxa/sharpsl.h
include/asm-arm/arch-pxa/spitz.h