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>
This commit is contained in:
parent
b12fe7250c
commit
e71fec7352
@ -143,9 +143,8 @@ static void butterfly_chipselect(struct spi_device *spi, int value)
|
|||||||
#include "spi-bitbang-txrx.h"
|
#include "spi-bitbang-txrx.h"
|
||||||
|
|
||||||
static u32
|
static u32
|
||||||
butterfly_txrx_word_mode0(struct spi_device *spi,
|
butterfly_txrx_word_mode0(struct spi_device *spi, unsigned nsecs, u32 word,
|
||||||
unsigned nsecs,
|
u8 bits)
|
||||||
u32 word, u8 bits)
|
|
||||||
{
|
{
|
||||||
return bitbang_txrx_be_cpha0(spi, nsecs, 0, 0, word, 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;
|
pp->port = p;
|
||||||
pd = parport_register_device(p, "spi_butterfly",
|
pd = parport_register_device(p, "spi_butterfly",
|
||||||
NULL, NULL, NULL,
|
NULL, NULL, NULL,
|
||||||
0 /* FLAGS */, pp);
|
0 /* FLAGS */, pp);
|
||||||
if (!pd) {
|
if (!pd) {
|
||||||
status = -ENOMEM;
|
status = -ENOMEM;
|
||||||
goto clean0;
|
goto clean0;
|
||||||
@ -275,7 +274,7 @@ static void butterfly_attach(struct parport *p)
|
|||||||
pp->dataflash = spi_new_device(pp->bitbang.master, &pp->info[0]);
|
pp->dataflash = spi_new_device(pp->bitbang.master, &pp->info[0]);
|
||||||
if (pp->dataflash)
|
if (pp->dataflash)
|
||||||
pr_debug("%s: dataflash at %s\n", p->name,
|
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);
|
pr_info("%s: AVR Butterfly\n", p->name);
|
||||||
butterfly = pp;
|
butterfly = pp;
|
||||||
|
Loading…
Reference in New Issue
Block a user