regulator: palmas: Add DT support
authorGraeme Gregory <gg@slimlogic.co.uk>
Tue, 28 Aug 2012 11:47:40 +0000 (13:47 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 23 Sep 2012 18:51:33 +0000 (20:51 +0200)
commita361cd9f2e9f2110e03ebeb6c4fb000a9a1adf2d
tree9ef627ac87ce7b1daf0d77f2f2db3680562a603e
parent7cc4c92fbc1b539597c00656b3236a57d76022f4
regulator: palmas: Add DT support

Add DT support to palmas regulator. This involved a little change to
the platform data structure. Regulator information can now come from
platform data or DT.

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/regulator/palmas-regulator.c