]> git.baikalelectronics.ru Git - kernel.git/commit
spi: bcm2835: fix all checkpath --strict messages
authorMartin Sperl <kernel@martin.sperl.org>
Fri, 20 Mar 2015 14:26:11 +0000 (15:26 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 20 Mar 2015 17:45:35 +0000 (17:45 +0000)
commit9fa59075c9fc3cf4001b1e2d415243369cfd00e6
treef6f6d9c150df51ea7aaf4d3cd694f53b8fa3c15d
parentb7d65746744b343701de14ca433982a3229390be
spi: bcm2835: fix all checkpath --strict messages

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: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm2835.c