summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-altera-platform.c
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-12-29 13:38:35 +0300
committerMark Brown <broonie@kernel.org>2022-12-29 16:22:03 +0300
commit26c48aea147cbf3dcec1df67d0684457ddf00fea (patch)
treed6e3b94ba8a6d5e73a6c43178941cfb0a38559f3 /drivers/spi/spi-altera-platform.c
parent6c9d1fd52956c3148e847a214bae9102b1811de5 (diff)
downloadlinux-26c48aea147cbf3dcec1df67d0684457ddf00fea.tar.xz
spi: altera: switch to use modern name
Change legacy name master/slave to modern name host/target or controller. No functional changed. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Link: https://lore.kernel.org/r/20221229103837.4192759-2-yangyingliang@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-altera-platform.c')
-rw-r--r--drivers/spi/spi-altera-platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-altera-platform.c b/drivers/spi/spi-altera-platform.c
index 65147aae82a1..cde12c4b9cbc 100644
--- a/drivers/spi/spi-altera-platform.c
+++ b/drivers/spi/spi-altera-platform.c
@@ -107,7 +107,7 @@ static int altera_spi_probe(struct platform_device *pdev)
}
}
- altera_spi_init_master(master);
+ altera_spi_init_host(master);
/* irq is optional */
hw->irq = platform_get_irq(pdev, 0);