summaryrefslogtreecommitdiff
path: root/drivers/spi/renesas_rpc_spi.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2024-02-27 17:05:45 +0100
committerTom Rini <trini@konsulko.com>2024-03-02 14:29:36 -0500
commit6bd3a95b674cb22a14868778fe2cb61b3e5a9008 (patch)
treeff390c2d3d0d959dd19fce34617f2c73071ae346 /drivers/spi/renesas_rpc_spi.c
parent9a2614b4584a32398f38856bc5e529050060a03a (diff)
ARM: renesas: Rename rmobile_get_cpu_type() to renesas_get_cpu_type()
Rename rmobile_get_cpu_type() to renesas_get_cpu_type() because all the chips are made by Renesas, while only a subset of them is from the R-Mobile line. Use the following command to perform the rename: " $ git grep -l '\<rmobile_get_cpu_type\>' | \ xargs -I {} sed -i 's@\<rmobile_get_cpu_type\>@renesas_get_cpu_type@g' {} " Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Diffstat (limited to 'drivers/spi/renesas_rpc_spi.c')
-rw-r--r--drivers/spi/renesas_rpc_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/renesas_rpc_spi.c b/drivers/spi/renesas_rpc_spi.c
index 3eb14061c81..8a93d1b1bfd 100644
--- a/drivers/spi/renesas_rpc_spi.c
+++ b/drivers/spi/renesas_rpc_spi.c
@@ -203,7 +203,7 @@ static void rpc_spi_flush_read_cache(struct udevice *dev)
static u32 rpc_spi_get_strobe_delay(void)
{
#ifndef CONFIG_RZA1
- u32 cpu_type = rmobile_get_cpu_type();
+ u32 cpu_type = renesas_get_cpu_type();
/*
* NOTE: RPC_PHYCNT_STRTIM value: