diff options
author | Nishanth Menon <nm@ti.com> | 2014-04-11 16:21:47 (GMT) |
---|---|---|
committer | Nishanth Menon <nm@ti.com> | 2014-05-05 19:33:01 (GMT) |
commit | 9e224c8ff19e4c4a9c9272171d5a0169d5cb1bef (patch) | |
tree | 0fe14e60cea7421c84523de400ce17ba5de11bdc /mm | |
parent | ca6a34935c2c95482b901d76116f785ea356412c (diff) | |
download | linux-9e224c8ff19e4c4a9c9272171d5a0169d5cb1bef.tar.xz |
bus: omap_l3_noc: switch over to relaxed variants of readl/writel
Currently we use __raw_readl and writel in this driver. Considering
there is no specific need for a memory barrier, replacing writel
with endian-neutral writel_relaxed and replacing __raw_readls with
the corresponding endian-neutral readl_relaxed allows us to have a
standard set of register operations for the driver.
While at it, simplify address computation using variables for
register.
Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Darren Etheridge <detheridge@ti.com>
Tested-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions