summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/irq.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2019-02-14 15:52:08 +0100
committerSekhar Nori <nsekhar@ti.com>2019-02-19 15:14:41 +0100
commitf412384e2d81198c88e363049017ae1d0fb7b539 (patch)
treef00e828a9f6623ba24667eb4ca67ab0aa7ae0d83 /arch/arm/mach-davinci/irq.c
parentARM: davinci: aintc: drop the 00 prefix from register offsets (diff)
downloadlinux-f412384e2d81198c88e363049017ae1d0fb7b539.tar.xz
linux-f412384e2d81198c88e363049017ae1d0fb7b539.zip
ARM: davinci: aintc: use writel_relaxed()
Raplace all calls to __raw_writel() with writel_relaxed(). It's safe to do as there's no endianness conversion being done in the code. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/irq.c')
-rw-r--r--arch/arm/mach-davinci/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/irq.c b/arch/arm/mach-davinci/irq.c
index 2df91fc0dade..509be44eda22 100644
--- a/arch/arm/mach-davinci/irq.c
+++ b/arch/arm/mach-davinci/irq.c
@@ -36,7 +36,7 @@ static struct irq_domain *davinci_aintc_irq_domain;
static inline void davinci_aintc_writel(unsigned long value, int offset)
{
- __raw_writel(value, davinci_aintc_base + offset);
+ writel_relaxed(value, davinci_aintc_base + offset);
}
static inline unsigned long davinci_aintc_readl(int offset)