From 139a94a98653b79b3133bb3152512b5284bb9ff3 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Sat, 29 Jun 2019 02:38:03 +0900 Subject: ARM: uniphier: remove unused sg_set_iectrl_range() Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/sg-regs.h | 8 -------- 1 file changed, 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 */ -- cgit