aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/sg-regs.h
diff options
context:
space:
mode:
authorMasahiro Yamada2019-06-29 02:38:03 +0900
committerMasahiro Yamada2019-06-29 22:31:16 +0900
commit139a94a98653b79b3133bb3152512b5284bb9ff3 (patch)
tree39ea5b580c5f1c9daf670fddbff31fe77abcaf30 /arch/arm/mach-uniphier/sg-regs.h
parent3f0d299e88859b8e9ea12b5f9dd694ad646f0d05 (diff)
ARM: uniphier: remove unused sg_set_iectrl_range()
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/sg-regs.h')
-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 0497655fb5f..8aed826c963 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 */