summaryrefslogtreecommitdiffstats
path: root/include/linux/spi
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-03-29 18:50:12 +0800
committerMark Brown <broonie@linaro.org>2014-03-29 11:09:26 +0000
commitd9721ae1493725bb14dcd1a3c19bbb5795e4a42f (patch)
treec50e7c46d9181aefca4508b83c5fb1c4b0920869 /include/linux/spi
parent38dbfb59d1175ef458d006556061adeaa8751b72 (diff)
downloadlinux-d9721ae1493725bb14dcd1a3c19bbb5795e4a42f.tar.gz
linux-d9721ae1493725bb14dcd1a3c19bbb5795e4a42f.tar.bz2
linux-d9721ae1493725bb14dcd1a3c19bbb5795e4a42f.zip
spi: bitbang: Make spi_bitbang_stop() return void
spi_bitbang_stop() never fails, so make it return void. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/linux/spi')
-rw-r--r--include/linux/spi/spi_bitbang.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/spi/spi_bitbang.h b/include/linux/spi/spi_bitbang.h
index daebaba886aa..85578d4be034 100644
--- a/include/linux/spi/spi_bitbang.h
+++ b/include/linux/spi/spi_bitbang.h
@@ -42,6 +42,6 @@ extern int spi_bitbang_setup_transfer(struct spi_device *spi,
/* start or stop queue processing */
extern int spi_bitbang_start(struct spi_bitbang *spi);
-extern int spi_bitbang_stop(struct spi_bitbang *spi);
+extern void spi_bitbang_stop(struct spi_bitbang *spi);
#endif /* __SPI_BITBANG_H */