ARM: uniphier: remove unused sg_set_iectrl_range()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 28 Jun 2019 17:38:03 +0000 (02:38 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 29 Jun 2019 13:31:16 +0000 (22:31 +0900)
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/sg-regs.h

index 0497655fb5f7ddba4647f9c7345e699b2957008b..8aed826c963f08b0aafbdd9fba04150c3c2882aa 100644 (file)
@@ -127,14 +127,6 @@ static inline void sg_set_iectrl(unsigned pin)
        writel(tmp, reg);
 }
 
-static inline void sg_set_iectrl_range(unsigned min, unsigned max)
-{
-       int i;
-
-       for (i = min; i <= max; i++)
-               sg_set_iectrl(i);
-}
-
 #endif /* __ASSEMBLY__ */
 
 #endif /* UNIPHIER_SG_REGS_H */