Now that the powerpc clocks are properly marked as big endian, we can remove the special handling for PowerPC.
Signed-off-by: Jonas Gorski <jonas.gor...@gmail.com> --- include/linux/clk-provider.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index 2c7c17652d75..6755befb6cee 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h @@ -999,20 +999,6 @@ static inline int of_clk_detect_critical(struct device_node *np, int index, * for improved portability across platforms */ -#if IS_ENABLED(CONFIG_PPC) - -static inline u32 clk_readl(u32 __iomem *reg) -{ - return ioread32be(reg); -} - -static inline void clk_writel(u32 val, u32 __iomem *reg) -{ - iowrite32be(val, reg); -} - -#else /* platform dependent I/O accessors */ - static inline u32 clk_readl(u32 __iomem *reg) { return readl(reg); @@ -1023,8 +1009,6 @@ static inline void clk_writel(u32 val, u32 __iomem *reg) writel(val, reg); } -#endif /* platform dependent I/O accessors */ - static inline u32 clk_readl_be(u32 __iomem *reg) { return ioread32be(reg); -- 2.13.2