diff options
author | Feng Tang <feng.tang@intel.com> | 2011-03-30 23:09:52 +0800 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-03-30 21:31:48 -0600 |
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 fb0bce56484..d8aac1f4c54 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); |