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

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

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

diff --git a/arch/arm/mach-rockchip/rk3576/Makefile b/arch/arm/mach-rockchip/rk3576/Makefile
index bd7399cddaac..a8b09c24a50b 100644
--- a/arch/arm/mach-rockchip/rk3576/Makefile
+++ b/arch/arm/mach-rockchip/rk3576/Makefile
@@ -5,4 +5,3 @@
 #
 
 obj-y += rk3576.o
-obj-y += clk_rk3576.o
diff --git a/arch/arm/mach-rockchip/rk3576/clk_rk3576.c b/arch/arm/mach-rockchip/rk3576/clk_rk3576.c
deleted file mode 100644
index 6e16a61772e2..000000000000
--- a/arch/arm/mach-rockchip/rk3576/clk_rk3576.c
+++ /dev/null
@@ -1,12 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * (C) Copyright 2020 Rockchip Electronics Co., Ltd.
- */
-
-#include <linux/kernel.h>
-#include <asm/arch-rockchip/cru_rk3576.h>
-
-void *rockchip_get_cru(void)
-{
-	return (void *)RK3576_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.