gpio-langwell: do not use direct access to iomapped memory
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 22 May 2013 10:20:11 +0000 (13:20 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 30 May 2013 17:30:56 +0000 (19:30 +0200)
commit64c8cbc17c8d4af3b600c66247e47eac99e46aaf
tree7b05d727f66cb9c56bd6c0e6eb6a3dbffe52971b
parentaeb168f77c745fa4964e217400c9d43685e46705
gpio-langwell: do not use direct access to iomapped memory

We better to use readl() function instead of bad looking direct access.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: David Cohen <david.a.cohen@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-langwell.c