Skip to content

Commit 94628e5

Browse files
Yang Yingliangbroonie
authored andcommitted
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>
1 parent f4bf545 commit 94628e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spidev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ static int spidev_release(struct inode *inode, struct file *filp)
666666
}
667667
#ifdef CONFIG_SPI_SLAVE
668668
if (!dofree)
669-
spi_slave_abort(spidev->spi);
669+
spi_target_abort(spidev->spi);
670670
#endif
671671
mutex_unlock(&device_list_lock);
672672

0 commit comments

Comments
 (0)