summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-butterfly.c
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-12-02 19:17:50 +0530
committerMark Brown <broonie@kernel.org>2015-12-02 19:38:16 +0000
commite71fec7352c83af889ea36e164f1f6f895b0aaaf (patch)
tree9fb05c96be53ce9d9ad73b191eb41cd6b50460a2 /drivers/spi/spi-butterfly.c
parentb12fe7250cf013622d064a280b87b19448d26d00 (diff)
downloadlinux-e71fec7352c83af889ea36e164f1f6f895b0aaaf.tar.gz
linux-e71fec7352c83af889ea36e164f1f6f895b0aaaf.tar.bz2
linux-e71fec7352c83af889ea36e164f1f6f895b0aaaf.zip
spi: butterfly: correct alignment
checkpatch complains about the allignment with open parenthesis. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-butterfly.c')
-rw-r--r--drivers/spi/spi-butterfly.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/spi/spi-butterfly.c b/drivers/spi/spi-butterfly.c
index 8fc284d0d7c3..f16ef7fb10f1 100644
--- a/drivers/spi/spi-butterfly.c
+++ b/drivers/spi/spi-butterfly.c
@@ -143,9 +143,8 @@ static void butterfly_chipselect(struct spi_device *spi, int value)
#include "spi-bitbang-txrx.h"
static u32
-butterfly_txrx_word_mode0(struct spi_device *spi,
- unsigned nsecs,
- u32 word, u8 bits)
+butterfly_txrx_word_mode0(struct spi_device *spi, unsigned nsecs, u32 word,
+ u8 bits)
{
return bitbang_txrx_be_cpha0(spi, nsecs, 0, 0, word, bits);
}
@@ -223,8 +222,8 @@ static void butterfly_attach(struct parport *p)
*/
pp->port = p;
pd = parport_register_device(p, "spi_butterfly",
- NULL, NULL, NULL,
- 0 /* FLAGS */, pp);
+ NULL, NULL, NULL,
+ 0 /* FLAGS */, pp);
if (!pd) {
status = -ENOMEM;
goto clean0;
@@ -275,7 +274,7 @@ static void butterfly_attach(struct parport *p)
pp->dataflash = spi_new_device(pp->bitbang.master, &pp->info[0]);
if (pp->dataflash)
pr_debug("%s: dataflash at %s\n", p->name,
- dev_name(&pp->dataflash->dev));
+ dev_name(&pp->dataflash->dev));
pr_info("%s: AVR Butterfly\n", p->name);
butterfly = pp;