Message ID | 20230816094013.1275068-15-yangyingliang@huawei.com |
---|---|
State | Accepted |
Commit | 46f53bde6e69edf8a2e0943babb3f160b30ee436 |
Headers | show |
Series | spi: switch to use modern name (part4) | expand |
diff --git a/drivers/spi/spi-rpc-if.c b/drivers/spi/spi-rpc-if.c index 2f78124a1b59..e11146932828 100644 --- a/drivers/spi/spi-rpc-if.c +++ b/drivers/spi/spi-rpc-if.c @@ -134,7 +134,7 @@ static int rpcif_spi_probe(struct platform_device *pdev) struct rpcif *rpc; int error; - ctlr = devm_spi_alloc_master(&pdev->dev, sizeof(*rpc)); + ctlr = devm_spi_alloc_host(&pdev->dev, sizeof(*rpc)); if (!ctlr) return -ENOMEM;
Switch to use modern name function devm_spi_alloc_host(). No functional changed. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> --- drivers/spi/spi-rpc-if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)