gpio: dwapb_gpio: Change to use dev_read_addr()
authorLey Foon Tan <ley.foon.tan@intel.com>
Wed, 15 Aug 2018 18:05:54 +0000 (02:05 +0800)
committerMarek Vasut <marex@denx.de>
Sat, 15 Sep 2018 01:17:01 +0000 (03:17 +0200)
commit9ea354444d156b1f7c1d1990a32215c257b38e16
tree135124f8720fbff6612a08969fe75974e07f0476
parentdb6a158bc3fbf44fa71d18bf92f48961a500b4cc
gpio: dwapb_gpio: Change to use dev_read_addr()

This changes the driver to use dev_read_addr() which is safe both for
flat trees and live trees.

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
drivers/gpio/dwapb_gpio.c