summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-06-29 02:38:03 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-06-29 22:31:16 +0900
commit139a94a98653b79b3133bb3152512b5284bb9ff3 (patch)
tree39ea5b580c5f1c9daf670fddbff31fe77abcaf30
parent3f0d299e88859b8e9ea12b5f9dd694ad646f0d05 (diff)
ARM: uniphier: remove unused sg_set_iectrl_range()
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r--arch/arm/mach-uniphier/sg-regs.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-uniphier/sg-regs.h b/arch/arm/mach-uniphier/sg-regs.h
index 0497655fb5..8aed826c96 100644
--- a/arch/arm/mach-uniphier/sg-regs.h
+++ b/arch/arm/mach-uniphier/sg-regs.h
@@ -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 */