diff options
author | 2022-09-28 15:24:31 +0200 | |
---|---|---|
committer | 2023-01-09 17:00:54 +0100 | |
commit | 8e2644fff884bc126eeb2f9b989d7728162c3836 (patch) | |
tree | 3286fa0644884e97a698f8869abd8fcb2c915be8 /arch/arm/mach-omap2/prcm_mpu44xx.c | |
parent | ARM: omap2: smartreflex: remove on_init control (diff) | |
download | linux-8e2644fff884bc126eeb2f9b989d7728162c3836.tar.gz linux-8e2644fff884bc126eeb2f9b989d7728162c3836.tar.bz2 linux-8e2644fff884bc126eeb2f9b989d7728162c3836.zip |
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.c | 12 |
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 |