• Sergei Shtylyov's avatar
    [MIPS] MTX-1 code style cleanup · 1ff1a78c
    Sergei Shtylyov authored
    Fix many errors and warnings given by checkpatch.pl:
    
    - space after opening and before closing parentheses;
    
    - use of C99 // comments;
    
    - leading spaces instead of tabs;
    
    - brace not on the same line with 'else' in the 'if' statement;
      statement;
    
    - printk() without KERN_* facility level;
    
    - using simple_strtol() where strict_strtol() could be used.
    
    - including <asm/gpio.h> instead of <linux/gpio.h>.
    
    In addition to these changes, also do the following:
    
    - insert spaces between operator and its operands;
    
    - replace tab between the function type and name with space in
      mtx1_pci_idsel() declaration;
    
    - remove space after the type cast's closing parenthesis;
    
    - insert missing space before closing brace in the array/structure
      initializers;
    
    - 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>
    1ff1a78c
init.c 1.95 KB