dm: gpio: sandbox: Use dev_read...() functions to access DT
authorSimon Glass <sjg@chromium.org>
Fri, 19 May 2017 02:09:20 +0000 (20:09 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:10 +0000 (07:03 -0600)
commit95795ad6cef37b29fcba5365860a8fa9c2f43898
tree26f19fc23b737f63eb5406f840331926b147c7ac
parent6f39b94a5d77344856d5dc4c3a724928c9c06e81
dm: gpio: sandbox: Use dev_read...() functions to access DT

Use the new dev_read...() functions to access the device tree, so that a
live tree can be used.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/gpio/sandbox.c