spi: fsi: switch to use spi_alloc_host()
Switch to use modern name function spi_alloc_host(). No functional changed. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Link: https://lore.kernel.org/r/20230807124105.3429709-6-yangyingliang@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Родитель
45d9591105
Коммит
d40f10d009
|
@ -542,7 +542,7 @@ static int fsi_spi_probe(struct device *dev)
|
|||
if (of_property_read_u32(np, "reg", &base))
|
||||
continue;
|
||||
|
||||
ctlr = spi_alloc_master(dev, sizeof(*ctx));
|
||||
ctlr = spi_alloc_host(dev, sizeof(*ctx));
|
||||
if (!ctlr) {
|
||||
of_node_put(np);
|
||||
break;
|
||||
|
|
Загрузка…
Ссылка в новой задаче