Skip to content

Commit

Permalink
staging: sm7xx: minor cleanup
Browse files Browse the repository at this point in the history
Sync code comments with TODO, fix some style and format issues

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Javier M. Mellid authored and Greg Kroah-Hartman committed May 3, 2011
1 parent 5981567 commit 3b70a26
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion drivers/staging/sm7xx/TODO
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions drivers/staging/sm7xx/smtcfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 <boyod.yang@siliconmotion.com.cn>
* - Verified on 2.6.19.2
* Boyod.yang <boyod.yang@siliconmotion.com.cn>
*
* Version 0.09.2621.00.01
* - Only support Linux Kernel's version 2.6.21.
* Boyod.yang <boyod.yang@siliconmotion.com.cn>
* - Only support Linux Kernel's version 2.6.21
* Boyod.yang <boyod.yang@siliconmotion.com.cn>
*
* Version 0.09
* - Only support Linux Kernel's version 2.6.12.
* - Only support Linux Kernel's version 2.6.12
* Boyod.yang <boyod.yang@siliconmotion.com.cn>
*/

Expand Down Expand Up @@ -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},
};

Expand Down

0 comments on commit 3b70a26

Please sign in to comment.