[PATCH] sstfb: cleanups

- Remove 24/32bit unused support (the chips don't do 24/32bit anyway)
- Clean up printk obfuscation
- Clean up lispitus in the if(())()) stuff
- Minor tidying

No functionality changes, may have a crack at hardware scrolling based
on my X driver once the cleanups are in.

Signed-off-by: Alan Cox <alan@redhat.com>
Cc: Antonino A. Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Alan Cox
2006-10-03 01:15:07 -07:00
committed by Linus Torvalds
parent 3cb340ecbb
commit b98fc9a34b
2 changed files with 55 additions and 119 deletions

View File

@@ -68,10 +68,6 @@
# define print_var(X,Y...)
#endif
#define eprintk(X...) printk(KERN_ERR "sstfb: " X)
#define iprintk(X...) printk(KERN_INFO "sstfb: " X)
#define wprintk(X...) printk(KERN_WARNING "sstfb: " X)
#define BIT(x) (1ul<<(x))
#define POW2(x) (1ul<<(x))