[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>
Showing
- arch/arm/mach-pxa/corgi.c 180 additions, 3 deletionsarch/arm/mach-pxa/corgi.c
- arch/arm/mach-pxa/corgi_lcd.c 2 additions, 297 deletionsarch/arm/mach-pxa/corgi_lcd.c
- arch/arm/mach-pxa/sharpsl.h 3 additions, 16 deletionsarch/arm/mach-pxa/sharpsl.h
- arch/arm/mach-pxa/spitz.c 102 additions, 4 deletionsarch/arm/mach-pxa/spitz.c
- drivers/input/touchscreen/corgi_ts.c 4 additions, 4 deletionsdrivers/input/touchscreen/corgi_ts.c
- include/asm-arm/arch-pxa/corgi.h 0 additions, 1 deletioninclude/asm-arm/arch-pxa/corgi.h
- include/asm-arm/arch-pxa/sharpsl.h 1 addition, 1 deletioninclude/asm-arm/arch-pxa/sharpsl.h
- include/asm-arm/arch-pxa/spitz.h 0 additions, 2 deletionsinclude/asm-arm/arch-pxa/spitz.h
Loading
Please register or sign in to comment