• Martin Sperl's avatar
    spi: bcm2835: fix all checkpath --strict messages · 342f948a
    Martin Sperl authored
    The following errors/warnings issued by checkpatch.pl --strict have been fixed:
    drivers/spi/spi-bcm2835.c:182: CHECK: Alignment should match open parenthesis
    drivers/spi/spi-bcm2835.c:191: CHECK: braces {} should be used on all arms of this statement
    drivers/spi/spi-bcm2835.c:234: CHECK: Alignment should match open parenthesis
    drivers/spi/spi-bcm2835.c:256: CHECK: Alignment should match open parenthesis
    drivers/spi/spi-bcm2835.c:271: CHECK: Alignment should match open parenthesis
    drivers/spi/spi-bcm2835.c:346: CHECK: Alignment should match open parenthesis
    total: 0 errors, 0 warnings, 6 checks, 403 lines checked
    
    In 2 locations the arguments had to get split/moved to the next line so that the
    line width stays below 80 chars.
    Signed-off-by: default avatarMartin Sperl <kernel@martin.sperl.org>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    342f948a
spi-bcm2835.c 10.6 KB