bf609: clock: drop unused clock bit set/clear functions
authorSteven Miao <realmz6@gmail.com>
Fri, 11 Apr 2014 15:54:25 +0000 (23:54 +0800)
committerSteven Miao <realmz6@gmail.com>
Sat, 12 Apr 2014 00:48:00 +0000 (08:48 +0800)
Signed-off-by: Steven Miao <realmz6@gmail.com>
arch/blackfin/mach-bf609/clock.c

index 13644ed..56200f3 100644 (file)
@@ -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;