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:
Yang Yingliang 2024-09-10 10:26:12 +08:00 committed by Mark Brown
parent 1e0cc8d0a1
commit 6adfdf0780
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -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);
}