diff options
author | Feng Tang <feng.tang@intel.com> | 2011-03-30 11:09:52 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-03-30 23:31:48 -0400 |
commit | de6efe0a966cf86b3c4039a610b2d4157db707f2 (patch) | |
tree | 1eae388ca7196ea94d5480174d5f69fd1b43d588 /drivers/spi/dw_spi.h | |
parent | 0ce790e7d736cedc563e1fb4e998babf5a4dbc3d (diff) |
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 { | |||
137 | u8 max_bits_per_word; /* maxim is 16b */ | 137 | u8 max_bits_per_word; /* maxim is 16b */ |
138 | u32 dma_width; | 138 | u32 dma_width; |
139 | int cs_change; | 139 | int cs_change; |
140 | int (*write)(struct dw_spi *dws); | ||
141 | int (*read)(struct dw_spi *dws); | ||
142 | irqreturn_t (*transfer_handler)(struct dw_spi *dws); | 140 | irqreturn_t (*transfer_handler)(struct dw_spi *dws); |
143 | void (*cs_control)(u32 command); | 141 | void (*cs_control)(u32 command); |
144 | 142 | ||