i2c: at91: remove legacy DMA left overs
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 30 Sep 2020 14:56:54 +0000 (16:56 +0200)
committerWolfram Sang <wsa@kernel.org>
Tue, 3 Nov 2020 20:34:40 +0000 (21:34 +0100)
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>
drivers/i2c/busses/i2c-at91-master.c
drivers/i2c/busses/i2c-at91.h

index 66864f9cf7ac541b3ae05c561f634d20d7f0f90d..1cceb686668901ec5f80835ef178646d25f99291 100644 (file)
@@ -26,7 +26,6 @@
 #include <linux/of_device.h>
 #include <linux/pinctrl/consumer.h>
 #include <linux/platform_device.h>
-#include <linux/platform_data/dma-atmel.h>
 #include <linux/pm_runtime.h>
 
 #include "i2c-at91.h"
index eae673ae786cd8cd8c582a8201cce977e5089084..942e9c3973bb57826fc5addfa0af4ea25fb66f8d 100644 (file)
@@ -18,7 +18,6 @@
 #include <linux/dma-mapping.h>
 #include <linux/dmaengine.h>
 #include <linux/i2c.h>
-#include <linux/platform_data/dma-atmel.h>
 #include <linux/platform_device.h>
 
 #define AT91_I2C_TIMEOUT       msecs_to_jiffies(100)   /* transfer timeout */
@@ -123,7 +122,6 @@ struct at91_twi_pdata {
        bool has_adv_dig_filtr;
        bool has_ana_filtr;
        bool has_clear_cmd;
-       struct at_dma_slave dma_slave;
 };
 
 struct at91_twi_dma {