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 <[email protected]> Link: https://msgid.link/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent a232717 commit 4ac9ed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)