diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-11-23 20:27:22 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-11-29 13:19:59 +0100 |
commit | a9c8f68ce2c37ced2f7a8667eda71b7753ede398 (patch) | |
tree | 8d3a3e611931f06f312d7e02507ae0a654d205a7 /drivers/spi/spi-pxa2xx.h | |
parent | ARM: pxa/lubbock: Replace custom ->cs_control() by GPIO lookup table (diff) | |
download | linux-a9c8f68ce2c37ced2f7a8667eda71b7753ede398.tar.xz linux-a9c8f68ce2c37ced2f7a8667eda71b7753ede398.zip |
spi: pxa2xx: Get rid of unused ->cs_control()
Since the last user of the custom ->cs_control() gone, we may get rid of
this legacy API completely.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20211123192723.44537-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-pxa2xx.h')
-rw-r--r-- | drivers/spi/spi-pxa2xx.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/spi/spi-pxa2xx.h b/drivers/spi/spi-pxa2xx.h index 4d77f4de6eda..45cdbbc71c4b 100644 --- a/drivers/spi/spi-pxa2xx.h +++ b/drivers/spi/spi-pxa2xx.h @@ -49,7 +49,6 @@ struct driver_data { int (*write)(struct driver_data *drv_data); int (*read)(struct driver_data *drv_data); irqreturn_t (*transfer_handler)(struct driver_data *drv_data); - void (*cs_control)(u32 command); void __iomem *lpss_base; @@ -67,8 +66,6 @@ struct chip_data { u32 threshold; u16 lpss_rx_threshold; u16 lpss_tx_threshold; - - void (*cs_control)(u32 command); }; static inline u32 pxa2xx_spi_read(const struct driver_data *drv_data, u32 reg) |