clk: at91: change to using endian agnositc IO
authorBen Dooks <ben.dooks@codethink.co.uk>
Thu, 26 Mar 2015 13:07:29 +0000 (13:07 +0000)
committerMichael Turquette <mturquette@linaro.org>
Sat, 11 Apr 2015 21:38:39 +0000 (14:38 -0700)
Change to using endian agnostic _relaxed IO accessors instead of __raw

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
--
CC: Andrew Victor <linux@maxim.org.za>
CC: Nicolas Ferre <nicolas.ferre@atmel.com>
CC: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
CC: Mike Turquette <mturquette@linaro.org> (maintainer:COMMON CLK FRAMEWORK)
CC: Stephen Boyd <sboyd@codeaurora.org> (maintainer:COMMON CLK FRAMEWORK)
CC: linux-kernel@vger.kernel.org (open list:COMMON CLK FRAMEWORK)
Signed-off-by: Michael Turquette <mturquette@linaro.org>
include/linux/clk/at91_pmc.h

index c8e3b3d1ededbdf5b3a21e98b45eab03cb51b761..7669f7618f397be6e526d2e388f4b068c83f45c4 100644 (file)
 extern void __iomem *at91_pmc_base;
 
 #define at91_pmc_read(field) \
-       __raw_readl(at91_pmc_base + field)
+       readl_relaxed(at91_pmc_base + field)
 
 #define at91_pmc_write(field, value) \
-       __raw_writel(value, at91_pmc_base + field)
+       writel_relaxed(value, at91_pmc_base + field)
 #else
 .extern at91_pmc_base
 #endif