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>
This commit is contained in:
Родитель
50acb9a6a6
Коммит
832329d75a
|
@ -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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче