]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: xgifb: Fixed lots of coding style issues.
authorKenji Toyama <kenji.toyama@gmail.com>
Sat, 23 Apr 2011 11:36:49 +0000 (19:36 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 26 Apr 2011 00:30:41 +0000 (17:30 -0700)
commit641a05f7f1fc04cecae57f871135d27e33f6b441
tree7114fb9a2f0f49a1529647a856a296c161836caf
parentea4473d7f9573ec67da5e8f2db5ea35fba98a58e
Staging: xgifb: Fixed lots of coding style issues.

There were hundreds of warnings and errors given by checkpatch.pl but
now it's down to 20. These ones that were left in the code need some
more attention, cause I reckon the functions are overly nested leading
to a mess of code in a traditional 80 character screen. I'm sure this code
can be refactored into something more visually pleasing (things like
compressing two nested if's into a single if with an AND would help a
lot already).

Signed-off-by: Daniel Kenji Toyama <kenji.toyama@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/xgifb/vb_setmode.c