regulator: max77802: Add .{get,set}_mode callbacks
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Thu, 16 Oct 2014 16:48:47 +0000 (18:48 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 20 Oct 2014 11:23:50 +0000 (12:23 +0100)
commitefbe519945746371f92f5c3796818bf3e24c80ad
tree7467b57dd71f6b0a8b4eb61e24cdc61cc8aa29b1
parentb0615f1da543500f8442fa6e5adacb8c54b34c5f
regulator: max77802: Add .{get,set}_mode callbacks

Some max77802 LDOs (1, 3, 20 and 21) support to be configured in Low
Power Mode during system normal operation. Add function handlers for
the .get_mode and .set_mode operations to set the mode on these LDOs.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max77802.c