Skip to content

Commit 4ac9ed8

Browse files
Yang Yingliangbroonie
authored andcommitted
spi: ljca: switch to use devm_spi_alloc_host()
Switch to use modern name function devm_spi_alloc_host(). No functional changed. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Link: https://msgid.link/r/20231128093031.3707034-27-yangyingliang@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent a232717 commit 4ac9ed8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/spi/spi-ljca.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ static int ljca_spi_probe(struct auxiliary_device *auxdev,
223223
struct ljca_spi_dev *ljca_spi;
224224
int ret;
225225

226-
controller = devm_spi_alloc_master(&auxdev->dev, sizeof(*ljca_spi));
226+
controller = devm_spi_alloc_host(&auxdev->dev, sizeof(*ljca_spi));
227227
if (!controller)
228228
return -ENOMEM;
229229

0 commit comments

Comments
 (0)