Skip to content

Commit 0c8e5af

Browse files
Yang Yingliangbroonie
authored andcommitted
spi: sh-hspi: switch to use modern name
Change legacy name master to modern name host. No functional changed. Signed-off-by: Yang Yingliang <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 82a7792 commit 0c8e5af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/spi/spi-sh-hspi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ static int hspi_status_check_timeout(struct hspi_priv *hspi, u32 mask, u32 val)
8282
}
8383

8484
/*
85-
* spi master function
85+
* spi host function
8686
*/
8787

8888
#define hspi_hw_cs_enable(hspi) hspi_hw_cs_ctrl(hspi, 0)
@@ -224,7 +224,7 @@ static int hspi_probe(struct platform_device *pdev)
224224
return -EINVAL;
225225
}
226226

227-
ctlr = spi_alloc_master(&pdev->dev, sizeof(*hspi));
227+
ctlr = spi_alloc_host(&pdev->dev, sizeof(*hspi));
228228
if (!ctlr)
229229
return -ENOMEM;
230230

0 commit comments

Comments
 (0)