Skip to content

Commit d1d8b09

Browse files
Yang Yingliangbroonie
authored andcommitted
spi: wpcm-fiu: 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-17-yangyingliang@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 9d93c8d commit d1d8b09

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/spi/spi-wpcm-fiu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ static int wpcm_fiu_probe(struct platform_device *pdev)
441441
struct wpcm_fiu_spi *fiu;
442442
struct resource *res;
443443

444-
ctrl = devm_spi_alloc_master(dev, sizeof(*fiu));
444+
ctrl = devm_spi_alloc_host(dev, sizeof(*fiu));
445445
if (!ctrl)
446446
return -ENOMEM;
447447

0 commit comments

Comments
 (0)