summaryrefslogtreecommitdiff
path: root/drivers/regulator/tps65910-regulator.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2016-04-26 12:03:20 +0300
committerTejun Heo <tj@kernel.org>2016-05-12 17:53:11 +0300
commitee81d6cc8e8aa667aabce72f39a4b806419e1d55 (patch)
treefbabeb4686a91513a892f28b6d1880d41e77e936 /drivers/regulator/tps65910-regulator.c
parent9e8b855e9841eeb9c13e79d50f70dc000b0dfbfd (diff)
downloadlinux-ee81d6cc8e8aa667aabce72f39a4b806419e1d55.tar.xz
ata: sata_dwc_460ex: use readl/writel_relaxed()
Rename the register access macros and use standard _relaxed() ops instead of __raw variants with explicit byte swapping. The original driver used the ppc-specific in/out_le32(). When it was adapted to other systems, these were added to the driver under ifdefs. However, those names are not defined as macros on ppc, so it ended up replacing them there as well with altered semantics. This patch restores the original semantics on ppc and makes the accesses no less strict on other systems. Also fixes too many sparse warnings to count. Tested-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/regulator/tps65910-regulator.c')
0 files changed, 0 insertions, 0 deletions