diff options
author | Feng Tang <feng.tang@intel.com> | 2011-03-30 17:09:52 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-03-31 05:31:48 +0200 |
commit | de6efe0a966cf86b3c4039a610b2d4157db707f2 (patch) | |
tree | 1eae388ca7196ea94d5480174d5f69fd1b43d588 /drivers/spi/dw_spi.h | |
parent | Linux 2.6.39-rc1 (diff) | |
download | linux-de6efe0a966cf86b3c4039a610b2d4157db707f2.tar.xz linux-de6efe0a966cf86b3c4039a610b2d4157db707f2.zip |
spi/dw_spi: unify the low level read/write routines
The original version has many duplicated codes for null/u8/u16 case,
so unify them to make it cleaner
Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/dw_spi.h')
-rw-r--r-- | drivers/spi/dw_spi.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/dw_spi.h b/drivers/spi/dw_spi.h index fb0bce564844..d8aac1f4c546 100644 --- a/drivers/spi/dw_spi.h +++ b/drivers/spi/dw_spi.h @@ -137,8 +137,6 @@ struct dw_spi { u8 max_bits_per_word; /* maxim is 16b */ u32 dma_width; int cs_change; - int (*write)(struct dw_spi *dws); - int (*read)(struct dw_spi *dws); irqreturn_t (*transfer_handler)(struct dw_spi *dws); void (*cs_control)(u32 command); |