RK3588 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/rk3588/Makefile | 1 - arch/arm/mach-rockchip/rk3588/clk_rk3588.c | 12 ------------ 2 files changed, 13 deletions(-) delete mode 100644 arch/arm/mach-rockchip/rk3588/clk_rk3588.c diff --git a/arch/arm/mach-rockchip/rk3588/Makefile b/arch/arm/mach-rockchip/rk3588/Makefile index 576ed06a2eca..9f43434da5aa 100644 --- a/arch/arm/mach-rockchip/rk3588/Makefile +++ b/arch/arm/mach-rockchip/rk3588/Makefile @@ -5,4 +5,3 @@ # obj-y += rk3588.o -obj-y += clk_rk3588.o diff --git a/arch/arm/mach-rockchip/rk3588/clk_rk3588.c b/arch/arm/mach-rockchip/rk3588/clk_rk3588.c deleted file mode 100644 index 272d28e973b3..000000000000 --- a/arch/arm/mach-rockchip/rk3588/clk_rk3588.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_rk3588.h> - -void *rockchip_get_cru(void) -{ - return (void *)RK3588_CRU_BASE; -} -- 2.54.0
