mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:46:16 +00:00
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:
parent
6adfdf0780
commit
f4bf5454f8
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user