From 3b70a26bcbe05db12965de702368ca0b9ec945f1 Mon Sep 17 00:00:00 2001 From: "Javier M. Mellid" Date: Sat, 30 Apr 2011 17:44:26 +0200 Subject: [PATCH] staging: sm7xx: minor cleanup Sync code comments with TODO, fix some style and format issues Signed-off-by: Javier M. Mellid Signed-off-by: Greg Kroah-Hartman --- drivers/staging/sm7xx/TODO | 1 - drivers/staging/sm7xx/smtcfb.c | 16 ++++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/staging/sm7xx/TODO b/drivers/staging/sm7xx/TODO index a66d9e4..b0f5318 100644 --- a/drivers/staging/sm7xx/TODO +++ b/drivers/staging/sm7xx/TODO @@ -2,7 +2,6 @@ TODO: - Dual head support - 2D acceleration support - use kernel coding style -- checkpatch.pl clean - refine the code and remove unused code - use kernel framebuffer mode setting instead of hard code - move it to drivers/video/sm7xx/ or make it be drivers/video/sm7xxfb.c diff --git a/drivers/staging/sm7xx/smtcfb.c b/drivers/staging/sm7xx/smtcfb.c index 976a080..c0d943f 100644 --- a/drivers/staging/sm7xx/smtcfb.c +++ b/drivers/staging/sm7xx/smtcfb.c @@ -14,15 +14,15 @@ * * Version 0.10.26192.21.01 * - Add PowerPC/Big endian support - * - Add 2D support for Lynx - * - Verified on2.6.19.2 Boyod.yang + * - Verified on 2.6.19.2 + * Boyod.yang * * Version 0.09.2621.00.01 - * - Only support Linux Kernel's version 2.6.21. - * Boyod.yang + * - Only support Linux Kernel's version 2.6.21 + * Boyod.yang * * Version 0.09 - * - Only support Linux Kernel's version 2.6.12. + * - Only support Linux Kernel's version 2.6.12 * Boyod.yang */ @@ -99,17 +99,17 @@ struct vesa_mode_table { static struct vesa_mode_table vesa_mode[] = { {"0x301", 640, 480, 8}, {"0x303", 800, 600, 8}, - {"0x305", 1024, 768, 8}, + {"0x305", 1024, 768, 8}, {"0x307", 1280, 1024, 8}, {"0x311", 640, 480, 16}, {"0x314", 800, 600, 16}, - {"0x317", 1024, 768, 16}, + {"0x317", 1024, 768, 16}, {"0x31A", 1280, 1024, 16}, {"0x312", 640, 480, 24}, {"0x315", 800, 600, 24}, - {"0x318", 1024, 768, 24}, + {"0x318", 1024, 768, 24}, {"0x31B", 1280, 1024, 24}, }; -- 2.7.4