• Sergei Shtylyov's avatar
    [MIPS] Pb1100 code style cleanup · be1c3c1e
    Sergei Shtylyov authored
    Fix several errors and warnings given by checkpatch.pl:
    
    - space between asterisk and variable name;
    
    - use of C99 // comments;
    
    - using simple_strtol() where strict_strtol() could be used.
    
    In addition to these changes, also do the following:
    
    - properly indent the code;
    
    - remove space after the type cast's closing parenthesis;
    
    - replace numeric literals/expressions with the matching macros;
    
    - replace spaces after the macro name with tabs in the #define directives,
      and sometimes insert spaces there;
    
    - fix typos/errors, capitalize acronyms, etc. in the comments;
    
    - make the multi-line comment style consistent with the kernel style
      elsewhere by adding empty first line;
    
    - update MontaVista copyright;
    
    - remove Pete Popov's old email address...
    Signed-off-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
    Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    be1c3c1e
board_setup.c 3.68 KB