diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-10-27 13:11:48 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-28 22:31:59 +0000 |
commit | 68c5d1868bfed0643eb4d2c608cead41f6bf4132 (patch) | |
tree | 0ac495989823cccb57cf56e7de4ef632ee5aea4d /include/net/mip6.h | |
parent | 7636f19c26a9c4174a139ded0d5216ea5d40b830 (diff) |
regulator: max77686: Store opmode non-shifted
Introduce simple helper for calculating the shift for OPMODE field in
registers. This allows storing the current value of opmode in
non-shifted form and simplifies a little set_suspend_disable and enable
functions. Additionally this will allow adding support LDOs to the
existing set_suspend_disable function.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Suggested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/net/mip6.h')
0 files changed, 0 insertions, 0 deletions