mbox series

[-next,0/7] spi: replace and remove spi_slave_abort()

Message ID 20240910022618.1397-1-yangyingliang@huaweicloud.com
Headers show
Series spi: replace and remove spi_slave_abort() | expand

Message

Yang Yingliang Sept. 10, 2024, 2:26 a.m. UTC
From: Yang Yingliang <yangyingliang@huawei.com>

Switch to use spi_controller_is_target() and spi_target_abort(),
then remove spi_controller_is_slave() and spi_slave_abort().

Yang Yingliang (7):
  spi: switch to use spi_controller_is_target()
  spi: slave-time: switch to use spi_target_abort()
  spi: slave-system-control: switch to use spi_target_abort()
  spi: spidev: switch to use spi_target_abort()
  spi: slave-mt27xx: switch to use target_abort
  platform/olpc: olpc-xo175-ec: switch to use spi_target_abort().
  spi: remove spi_controller_is_slave() and spi_slave_abort()

 drivers/platform/olpc/olpc-xo175-ec.c  |  4 ++--
 drivers/spi/spi-slave-mt27xx.c         | 12 ++++++------
 drivers/spi/spi-slave-system-control.c |  2 +-
 drivers/spi/spi-slave-time.c           |  2 +-
 drivers/spi/spi.c                      | 21 +++++----------------
 drivers/spi/spidev.c                   |  2 +-
 include/linux/spi/spi.h                | 12 +-----------
 7 files changed, 17 insertions(+), 38 deletions(-)