dm: gpio: power: Convert pm8916 drivers to livetree
authorSimon Glass <sjg@chromium.org>
Fri, 19 May 2017 02:10:01 +0000 (20:10 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:17 +0000 (07:03 -0600)
commit04048d58a8fdc607010cb611d0656c4f6cae6296
treeb437d4e85e4a5c55e3e88ea9b3e92ca85adb6f26
parentfe3c0b5b9306f957a6c25551a73ab8a70735699b
dm: gpio: power: Convert pm8916 drivers to livetree

This PMIC driver (power and GPIO) is used by the sandbox SPMI tests.
Update the drivers to support a live device tree so that the tests pass.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/gpio/pm8916_gpio.c
drivers/power/pmic/pm8916.c