summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/prcm_mpu44xx.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2022-09-28 16:24:31 +0300
committerArnd Bergmann <arnd@arndb.de>2023-01-09 19:00:54 +0300
commit8e2644fff884bc126eeb2f9b989d7728162c3836 (patch)
tree3286fa0644884e97a698f8869abd8fcb2c915be8 /arch/arm/mach-omap2/prcm_mpu44xx.c
parent00a5d41ee1b05a8f0c75e1f7e26d363f4c68420e (diff)
downloadlinux-8e2644fff884bc126eeb2f9b989d7728162c3836.tar.xz
ARM: omap2: remove unused functions
These are a number of individual functions that were either never used, or that had their last user removed in a prior cleanup. Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-omap2/prcm_mpu44xx.c')
-rw-r--r--arch/arm/mach-omap2/prcm_mpu44xx.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-omap2/prcm_mpu44xx.c b/arch/arm/mach-omap2/prcm_mpu44xx.c
index 5add541e3b41..7236c50388a8 100644
--- a/arch/arm/mach-omap2/prcm_mpu44xx.c
+++ b/arch/arm/mach-omap2/prcm_mpu44xx.c
@@ -35,18 +35,6 @@ void omap4_prcm_mpu_write_inst_reg(u32 val, s16 inst, u16 reg)
writel_relaxed(val, OMAP44XX_PRCM_MPU_REGADDR(inst, reg));
}
-u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst, s16 reg)
-{
- u32 v;
-
- v = omap4_prcm_mpu_read_inst_reg(inst, reg);
- v &= ~mask;
- v |= bits;
- omap4_prcm_mpu_write_inst_reg(v, inst, reg);
-
- return v;
-}
-
/**
* omap2_set_globals_prcm_mpu - set the MPU PRCM base address (for early use)
* @prcm_mpu: PRCM_MPU base virtual address