projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecd02b6
)
spi: rpc-if: switch to use devm_spi_alloc_host()
author
Yang Yingliang
<yangyingliang@huawei.com>
Wed, 16 Aug 2023 09:40:03 +0000
(17:40 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 16 Aug 2023 11:58:08 +0000
(12:58 +0100)
Switch to use modern name function devm_spi_alloc_host().
No functional changed.
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link:
https://lore.kernel.org/r/20230816094013.1275068-15-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rpc-if.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-rpc-if.c
b/drivers/spi/spi-rpc-if.c
index 2f78124a1b5922c418830c4c7562b56bc90524ba..e11146932828a2126e3b3a93a355eea51063e59a 100644
(file)
--- 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;