Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

spi: sh-hspi: switch to use modern name

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>

authored by

Yang Yingliang and committed by
Mark Brown
0c8e5afc 82a77923

+2 -2
+2 -2
drivers/spi/spi-sh-hspi.c
··· 82 82 } 83 83 84 84 /* 85 - * spi master function 85 + * spi host function 86 86 */ 87 87 88 88 #define hspi_hw_cs_enable(hspi) hspi_hw_cs_ctrl(hspi, 0) ··· 224 224 return -EINVAL; 225 225 } 226 226 227 - ctlr = spi_alloc_master(&pdev->dev, sizeof(*hspi)); 227 + ctlr = spi_alloc_host(&pdev->dev, sizeof(*hspi)); 228 228 if (!ctlr) 229 229 return -ENOMEM; 230 230