summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Miao <realmz6@gmail.com>2014-04-11 23:54:25 +0800
committerSteven Miao <realmz6@gmail.com>2014-04-12 08:48:00 +0800
commitf8ef77d9389f9b52fe80de4f1b236af3391420b8 (patch)
treea69b2616040f7b1a86cc9247a9632e8cae1d8949
parentf57ac8a744db2fcda47d13e6b54d2d2ed2624d6a (diff)
downloadlinux-stable-f8ef77d9389f9b52fe80de4f1b236af3391420b8.tar.gz
linux-stable-f8ef77d9389f9b52fe80de4f1b236af3391420b8.tar.bz2
linux-stable-f8ef77d9389f9b52fe80de4f1b236af3391420b8.zip
bf609: clock: drop unused clock bit set/clear functions
Signed-off-by: Steven Miao <realmz6@gmail.com>
-rw-r--r--arch/blackfin/mach-bf609/clock.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/blackfin/mach-bf609/clock.c b/arch/blackfin/mach-bf609/clock.c
index 13644ed25489..56200f37cfc8 100644
--- a/arch/blackfin/mach-bf609/clock.c
+++ b/arch/blackfin/mach-bf609/clock.c
@@ -73,24 +73,6 @@ static void clk_reg_write_mask(u32 reg, uint32_t val, uint32_t mask)
bfin_write32(reg, val2);
}
-static void clk_reg_set_bits(u32 reg, uint32_t mask)
-{
- u32 val;
-
- val = bfin_read32(reg);
- val |= mask;
- bfin_write32(reg, val);
-}
-
-static void clk_reg_clear_bits(u32 reg, uint32_t mask)
-{
- u32 val;
-
- val = bfin_read32(reg);
- val &= ~mask;
- bfin_write32(reg, val);
-}
-
int wait_for_pll_align(void)
{
int i = 10000;