projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82a7792
)
spi: sh-hspi: switch to use modern name
author
Yang Yingliang
<yangyingliang@huawei.com>
Fri, 18 Aug 2023 09:31:49 +0000
(17:31 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 21 Aug 2023 13:29:34 +0000
(14:29 +0100)
Change legacy name master to modern name 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/20230818093154.1183529-19-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sh-hspi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-sh-hspi.c
b/drivers/spi/spi-sh-hspi.c
index d6ffeae66ed35246fdec72637f0a280b39a87bfd..5d63aa1d28e2bc87ff70287ecb1f3b4796ecc069 100644
(file)
--- a/
drivers/spi/spi-sh-hspi.c
+++ b/
drivers/spi/spi-sh-hspi.c
@@
-82,7
+82,7
@@
static int hspi_status_check_timeout(struct hspi_priv *hspi, u32 mask, u32 val)
}
/*
- * spi
master
function
+ * spi
host
function
*/
#define hspi_hw_cs_enable(hspi) hspi_hw_cs_ctrl(hspi, 0)
@@
-224,7
+224,7
@@
static int hspi_probe(struct platform_device *pdev)
return -EINVAL;
}
- ctlr = spi_alloc_
master
(&pdev->dev, sizeof(*hspi));
+ ctlr = spi_alloc_
host
(&pdev->dev, sizeof(*hspi));
if (!ctlr)
return -ENOMEM;