diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2008-07-24 00:31:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 13:47:36 -0400 |
commit | 5cf138457af20b0ef79d8c249381927718ca1417 (patch) | |
tree | 074c1dcf0682d41f2af44710f40d34b7cdbe190a /include/video/trident.h | |
parent | 01a2d9ed85c945fc8a672622780533a1a0b7caf5 (diff) |
tridentfb: source code improvements
This patch contains general source code improvments:
- more simple functions are inline
- removes some meaningless output and the VERSION
string as it is no use
- eng_par is moved into the tridentfb_par
- removed small section of code for CyberBladeXPAi1
which is maybe right for only one resolution
and refresh rate and is probably redundant now
- other minor improvements
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/video/trident.h')
-rw-r--r-- | include/video/trident.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/video/trident.h b/include/video/trident.h index 7540501bc040..85ced9d91312 100644 --- a/include/video/trident.h +++ b/include/video/trident.h | |||
@@ -4,9 +4,9 @@ | |||
4 | #endif | 4 | #endif |
5 | 5 | ||
6 | #if TRIDENTFB_DEBUG | 6 | #if TRIDENTFB_DEBUG |
7 | #define debug(f,a...) printk("%s:" f, __FUNCTION__ , ## a);mdelay(100); | 7 | #define debug(f, a...) printk("%s:" f, __func__ , ## a); |
8 | #else | 8 | #else |
9 | #define debug(f,a...) | 9 | #define debug(f, a...) |
10 | #endif | 10 | #endif |
11 | 11 | ||
12 | #define output(f, a...) pr_info("tridentfb: " f, ## a) | 12 | #define output(f, a...) pr_info("tridentfb: " f, ## a) |