regulator: max77802: Split regulator operations for BUCKs
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Wed, 15 Oct 2014 16:20:33 +0000 (18:20 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 20 Oct 2014 11:23:50 +0000 (12:23 +0100)
commitb0615f1da543500f8442fa6e5adacb8c54b34c5f
tree9987d6cf11bb6c2f11f8df645be9098842b1dce4
parente6fb2aac552ab229e01169776199c13e2524c318
regulator: max77802: Split regulator operations for BUCKs

Not all the max77802 BUCKs regulators have the same functionality, for
example BUCKs 2-4 support the output to be configured as normal or Low
Power Mode by the PWRREQ enable pin while the other BUCKs only support
their output to be set ON or OFF by PWRREQ. As a preparation for adding
a set_suspend_mode function handler for all the regulators that support
Low Power Mode by PWRREQ, split the operations for BUCKs regulators.

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