spi: slave-system-control: 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-4-yangyingliang@huaweicloud.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Yang Yingliang 2024-09-10 10:26:13 +08:00 committed by Mark Brown
parent 6adfdf0780
commit f4bf5454f8
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -136,7 +136,7 @@ static void spi_slave_system_control_remove(struct spi_device *spi)
{
struct spi_slave_system_control_priv *priv = spi_get_drvdata(spi);
spi_slave_abort(spi);
spi_target_abort(spi);
wait_for_completion(&priv->finished);
}