[PATCH 30/30] rockchip: rk3506: Remove unused rockchip_get_cru() helper

Jonas Karlman <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
RK3506 have no uses for the rockchip_get_cru() helper now that the
sysreset driver and cpuinfo no longer use it, let's drop it.

Signed-off-by: Jonas Karlman <[email protected]>
---
 arch/arm/mach-rockchip/rk3506/Makefile     |  1 -
 arch/arm/mach-rockchip/rk3506/clk_rk3506.c | 10 ----------
 2 files changed, 11 deletions(-)
 delete mode 100644 arch/arm/mach-rockchip/rk3506/clk_rk3506.c

diff --git a/arch/arm/mach-rockchip/rk3506/Makefile b/arch/arm/mach-rockchip/rk3506/Makefile
index 63a6c2c2d18d..8b633d5c383e 100644
--- a/arch/arm/mach-rockchip/rk3506/Makefile
+++ b/arch/arm/mach-rockchip/rk3506/Makefile
@@ -1,4 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0-or-later
 
 obj-y += rk3506.o
-obj-y += clk_rk3506.o
diff --git a/arch/arm/mach-rockchip/rk3506/clk_rk3506.c b/arch/arm/mach-rockchip/rk3506/clk_rk3506.c
deleted file mode 100644
index e3161418302e..000000000000
--- a/arch/arm/mach-rockchip/rk3506/clk_rk3506.c
+++ /dev/null
@@ -1,10 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
-// Copyright Contributors to the U-Boot project.
-
-#include <linux/kernel.h>
-#include <asm/arch-rockchip/cru_rk3506.h>
-
-void *rockchip_get_cru(void)
-{
-	return (void *)RK3506_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.