[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1449147599-26705-2-git-send-email-sudipm.mukherjee@gmail.com>
Date: Thu, 3 Dec 2015 18:29:54 +0530
From: Sudip Mukherjee <sudipm.mukherjee@...il.com>
To: Mark Brown <broonie@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-spi@...r.kernel.org,
Sudip Mukherjee <sudipm.mukherjee@...il.com>
Subject: [PATCH 2/7] spi: lm70llp: add blank line after declaration
checkpatch complains about missing blank line after declaration.
Signed-off-by: Sudip Mukherjee <sudip@...torindia.org>
---
drivers/spi/spi-lm70llp.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/spi/spi-lm70llp.c b/drivers/spi/spi-lm70llp.c
index eb4b421..7037028 100644
--- a/drivers/spi/spi-lm70llp.c
+++ b/drivers/spi/spi-lm70llp.c
@@ -119,12 +119,14 @@ static inline void assertCS(struct spi_lm70llp *pp)
static inline void clkHigh(struct spi_lm70llp *pp)
{
u8 data = parport_read_data(pp->port);
+
parport_write_data(pp->port, data | SCLK);
}
static inline void clkLow(struct spi_lm70llp *pp)
{
u8 data = parport_read_data(pp->port);
+
parport_write_data(pp->port, data & ~SCLK);
}
@@ -163,8 +165,10 @@ static inline void setmosi(struct spi_device *s, int is_on)
static inline int getmiso(struct spi_device *s)
{
struct spi_lm70llp *pp = spidev_to_pp(s);
+
return ((SIO == (parport_read_status(pp->port) & SIO)) ? 0 : 1 );
}
+
/*--------------------------------------------------------------------*/
#include "spi-bitbang-txrx.h"
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists