regulator: max77686: Replace hard-coded opmode values with defines
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 27 Oct 2014 12:11:47 +0000 (13:11 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 28 Oct 2014 22:31:54 +0000 (22:31 +0000)
commit7636f19c26a9c4174a139ded0d5216ea5d40b830
treedaad84c43943672b4bd9f1ab46fac24227bc721d
parent73dbdf8ff583ff6693536351973bd24f45ee8668
regulator: max77686: Replace hard-coded opmode values with defines

Add defines for regulator operating modes which should be more readable,
especially if one does not have Maxim 77686 datasheet.

The patch does not introduce any functional change.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Suggested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max77686.c