mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 06:01:57 +00:00
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:
parent
45d9591105
commit
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;
|
||||
|
Loading…
Reference in New Issue
Block a user