Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

i2c: at91: remove legacy DMA left overs

Commit dc6df6e90de9 ("i2c: at91: remove legacy DMA support") removed legcy
DMA support from the driver. Remove the last use of the definitions from
linux/platform_data/dma-atmel.h and stop including this header.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
[wsa: fixed typo in subject]
Signed-off-by: Wolfram Sang <wsa@kernel.org>

authored by

Alexandre Belloni and committed by
Wolfram Sang
46d43ee4 74bb4eb6

-3
-1
drivers/i2c/busses/i2c-at91-master.c
··· 26 26 #include <linux/of_device.h> 27 27 #include <linux/pinctrl/consumer.h> 28 28 #include <linux/platform_device.h> 29 - #include <linux/platform_data/dma-atmel.h> 30 29 #include <linux/pm_runtime.h> 31 30 32 31 #include "i2c-at91.h"
-2
drivers/i2c/busses/i2c-at91.h
··· 18 18 #include <linux/dma-mapping.h> 19 19 #include <linux/dmaengine.h> 20 20 #include <linux/i2c.h> 21 - #include <linux/platform_data/dma-atmel.h> 22 21 #include <linux/platform_device.h> 23 22 24 23 #define AT91_I2C_TIMEOUT msecs_to_jiffies(100) /* transfer timeout */ ··· 122 123 bool has_adv_dig_filtr; 123 124 bool has_ana_filtr; 124 125 bool has_clear_cmd; 125 - struct at_dma_slave dma_slave; 126 126 }; 127 127 128 128 struct at91_twi_dma {