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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Krzysztof Helt 2008-07-23 21:31:05 -07:00 • committed by Linus Torvalds
commit 5cf138457a
2 changed files with 32 additions and 55 deletions

View file

@ -4,9 +4,9 @@
#endif
#if TRIDENTFB_DEBUG
#define debug(f,a...) printk("%s:" f, __FUNCTION__ , ## a);mdelay(100);
#define debug(f, a...) printk("%s:" f, __func__ , ## a);
#else
#define debug(f,a...)
#define debug(f, a...)
#endif
#define output(f, a...) pr_info("tridentfb: " f, ## a)