Skip to content

Commit

Permalink
spi: spi-pxa2xx: Remove unused macro
Browse files Browse the repository at this point in the history
IS_DMA_ALIGNED() became unused by the commit 6356437
("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>
  • Loading branch information
Jarkko Nikula authored and Mark Brown committed Nov 14, 2016
1 parent 1001354 commit 6906b0e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/spi/spi-pxa2xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ static inline void pxa2xx_spi_write(const struct driver_data *drv_data,
#define DONE_STATE ((void *)2)
#define ERROR_STATE ((void *)-1)

#define IS_DMA_ALIGNED(x) IS_ALIGNED((unsigned long)(x), DMA_ALIGNMENT)
#define DMA_ALIGNMENT 8

static inline int pxa25x_ssp_comp(struct driver_data *drv_data)
Expand Down

0 comments on commit 6906b0e

Please sign in to comment.