summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2024-09-10 10:26:12 +0800
committerMark Brown <broonie@kernel.org>2024-09-10 12:41:37 +0100
commit6adfdf0780a7a8a8b185af62302317ab20f1d066 (patch)
tree0d15980ab7824ac47a541b33e673e8e5155589bc /drivers/spi
parent1e0cc8d0a14271fbf6a50e680c8020458121a52b (diff)
downloadlwn-6adfdf0780a7a8a8b185af62302317ab20f1d066.tar.gz
lwn-6adfdf0780a7a8a8b185af62302317ab20f1d066.zip
spi: slave-time: switch to use spi_target_abort()
Switch to use modern name function spi_target_abort(). No functional changed. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Link: https://patch.msgid.link/20240910022618.1397-3-yangyingliang@huaweicloud.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-slave-time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-slave-time.c b/drivers/spi/spi-slave-time.c
index f56c1afb8534..8bb3070e4b80 100644
--- a/drivers/spi/spi-slave-time.c
+++ b/drivers/spi/spi-slave-time.c
@@ -110,7 +110,7 @@ static void spi_slave_time_remove(struct spi_device *spi)
{
struct spi_slave_time_priv *priv = spi_get_drvdata(spi);
- spi_slave_abort(spi);
+ spi_target_abort(spi);
wait_for_completion(&priv->finished);
}