mirror of https://gitee.com/openkylin/linux.git
spi: spi-pxa2xx: Remove unused macro
IS_DMA_ALIGNED() became unused by the commit 6356437e65
("spi: spi-pxa2xx: remove legacy PXA DMA bits").
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
1001354ca3
commit
6906b0ec5c
|
@ -109,7 +109,6 @@ static inline void pxa2xx_spi_write(const struct driver_data *drv_data,
|
||||||
#define DONE_STATE ((void *)2)
|
#define DONE_STATE ((void *)2)
|
||||||
#define ERROR_STATE ((void *)-1)
|
#define ERROR_STATE ((void *)-1)
|
||||||
|
|
||||||
#define IS_DMA_ALIGNED(x) IS_ALIGNED((unsigned long)(x), DMA_ALIGNMENT)
|
|
||||||
#define DMA_ALIGNMENT 8
|
#define DMA_ALIGNMENT 8
|
||||||
|
|
||||||
static inline int pxa25x_ssp_comp(struct driver_data *drv_data)
|
static inline int pxa25x_ssp_comp(struct driver_data *drv_data)
|
||||||
|
|
Loading…
Reference in New Issue