[PATCH 05/10] rockchip: rk3568: Remove unused rockchip_get_pmucru() helper

Jonas Karlman <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
The rockchip_get_pmucru() helper is only used by RK3399 SDRAM init code
to help get the PMU CRU base address from the clock driver private data.

RK3568 has no uses for the rockchip_get_pmucru() helper, let's drop it.

Signed-off-by: Jonas Karlman <[email protected]>
---
 arch/arm/mach-rockchip/rk3568/clk_rk3568.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/arm/mach-rockchip/rk3568/clk_rk3568.c b/arch/arm/mach-rockchip/rk3568/clk_rk3568.c
index ccd98a91cd16..53755bcf55ad 100644
--- a/arch/arm/mach-rockchip/rk3568/clk_rk3568.c
+++ b/arch/arm/mach-rockchip/rk3568/clk_rk3568.c
@@ -16,8 +16,3 @@ void *rockchip_get_cru(void)
 {
 	return (void *)RK3568_CRU_BASE;
 }
-
-void *rockchip_get_pmucru(void)
-{
-	return (void *)RK3568_PMU_CRU_BASE;
-}
-- 
2.54.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.