OSDN Git Service

gpio: ep93xx: get rid of bogus __raw* accessors
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Oct 2013 08:07:08 +0000 (10:07 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 16 Oct 2013 07:59:54 +0000 (09:59 +0200)
commitd27e06ac5dcf60d5502269e1875bcb0f05f1b1c1
tree95ac00d62bcb3d7786a9b44a95a1d2196669e2b0
parented05e204af5a2a7814858407bfd698d51e31f938
gpio: ep93xx: get rid of bogus __raw* accessors

I have no idea why this driver is using __raw* accessors for
reading and writing registers, I suspect it is just force of
habit or copy/paste. Change all to readb()/writeb() except
one chain where I used writeb_relaxed() up until the last
writeb().

Cc: Ryan Mallon <rmallon@gmail.com>
Cc: H Hartley Sweeten <hartleys@visionengravers.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-ep93xx.c