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: NKrzysztof Kozlowski <k.kozlowski@samsung.com> Suggested-by: NJavier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by: NMark Brown <broonie@kernel.org>
Showing
想要评论请 注册 或 登录