mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-28 16:53:49 +00:00
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>
This commit is contained in:
parent
1e0cc8d0a1
commit
6adfdf0780
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user