diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-12-03 18:29:54 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-12-04 12:17:21 +0000 |
commit | 832329d75a854863c99724193d9619aec1e68368 (patch) | |
tree | c4c6e7d2c3be34804a3b9fa65f1984f3db3357a4 /drivers/spi | |
parent | 50acb9a6a6167235a86d2d549a865af883347672 (diff) | |
download | talos-obmc-linux-832329d75a854863c99724193d9619aec1e68368.tar.gz talos-obmc-linux-832329d75a854863c99724193d9619aec1e68368.zip |
spi: lm70llp: add blank line after declaration
checkpatch complains about missing blank line after declaration.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-lm70llp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/spi/spi-lm70llp.c b/drivers/spi/spi-lm70llp.c index eb4b4218ee7d..70370288dfed 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" |