regulator: max1586: add device-tree support
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sun, 31 Aug 2014 19:10:51 +0000 (21:10 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 1 Sep 2014 10:35:45 +0000 (11:35 +0100)
Add device-tree support to max1586.
The driver can still be used with the legacy platform data, or the new
device-tree way.

This work is heavily inspired by the device-tree support of its cousin
max8660 driver.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>

No differences found