summaryrefslogtreecommitdiff
path: root/drivers/spi/spidev.c
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2024-09-10 10:26:14 +0800
committerMark Brown <broonie@kernel.org>2024-09-10 12:41:39 +0100
commit94628e5a07e71089a61951eb2d2e13685ff82760 (patch)
treea0acc2bda9cb1435dcacff96e58b978c8e4ec612 /drivers/spi/spidev.c
parentf4bf5454f852b86d3b4be69f058fd36a61cd81bf (diff)
downloadlwn-94628e5a07e71089a61951eb2d2e13685ff82760.tar.gz
lwn-94628e5a07e71089a61951eb2d2e13685ff82760.zip
spi: spidev: 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-5-yangyingliang@huaweicloud.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spidev.c')
-rw-r--r--drivers/spi/spidev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
index 1927175c8095..d5dbd1a88af9 100644
--- a/drivers/spi/spidev.c
+++ b/drivers/spi/spidev.c
@@ -666,7 +666,7 @@ static int spidev_release(struct inode *inode, struct file *filp)
}
#ifdef CONFIG_SPI_SLAVE
if (!dofree)
- spi_slave_abort(spidev->spi);
+ spi_target_abort(spidev->spi);
#endif
mutex_unlock(&device_list_lock);