mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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:
parent
01a2d9ed85
commit
5cf138457a
2 changed files with 32 additions and 55 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue