summaryrefslogtreecommitdiffstats
path: root/include/linux/spi
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-07-05 20:07:27 +0100
committerMark Brown <broonie@linaro.org>2013-07-17 18:13:01 +0100
commit2025172e32808a327b00f968c72baa79adc594c2 (patch)
treeb0de1d0846e557e1c485e088ba55d6c227a8d7c8 /include/linux/spi
parent91b308586793b48c590c9ac3528bbacb8ef53e15 (diff)
downloadlinux-2025172e32808a327b00f968c72baa79adc594c2.tar.gz
linux-2025172e32808a327b00f968c72baa79adc594c2.tar.bz2
linux-2025172e32808a327b00f968c72baa79adc594c2.zip
spi/bitbang: Use core message pump
Convert drivers using bitbang to use the core mesasge pump infrastructure, saving some code and meaning that these drivers get to take advantage of work done on improving the core implementation. Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/linux/spi')
-rw-r--r--include/linux/spi/spi_bitbang.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/spi/spi_bitbang.h b/include/linux/spi/spi_bitbang.h
index b5aa215493f6..daebaba886aa 100644
--- a/include/linux/spi/spi_bitbang.h
+++ b/include/linux/spi/spi_bitbang.h
@@ -4,11 +4,7 @@
#include <linux/workqueue.h>
struct spi_bitbang {
- struct workqueue_struct *workqueue;
- struct work_struct work;
-
spinlock_t lock;
- struct list_head queue;
u8 busy;
u8 use_dma;
u8 flags; /* extra spi->mode support */