RK3568 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/rk3568/Makefile | 1 - arch/arm/mach-rockchip/rk3568/clk_rk3568.c | 12 ------------ 2 files changed, 13 deletions(-) delete mode 100644 arch/arm/mach-rockchip/rk3568/clk_rk3568.c diff --git a/arch/arm/mach-rockchip/rk3568/Makefile b/arch/arm/mach-rockchip/rk3568/Makefile index 610d2a015587..d0bc69fd2f21 100644 --- a/arch/arm/mach-rockchip/rk3568/Makefile +++ b/arch/arm/mach-rockchip/rk3568/Makefile @@ -4,5 +4,4 @@ # SPDX-License-Identifier: GPL-2.0+ # -obj-y += clk_rk3568.o obj-y += rk3568.o diff --git a/arch/arm/mach-rockchip/rk3568/clk_rk3568.c b/arch/arm/mach-rockchip/rk3568/clk_rk3568.c deleted file mode 100644 index 72141e4726c2..000000000000 --- a/arch/arm/mach-rockchip/rk3568/clk_rk3568.c +++ /dev/null @@ -1,12 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * (C) Copyright 2021 Rockchip Electronics Co., Ltd - */ - -#include <linux/kernel.h> -#include <asm/arch-rockchip/cru_rk3568.h> - -void *rockchip_get_cru(void) -{ - return (void *)RK3568_CRU_BASE; -} -- 2.54.0
