commit | 8a34e979f684aa13e6c4bf23b394cca9dfabf4a9 | [log] [tgz] |
---|---|---|
author | WEN Pingbo <pingbo.wen@linaro.org> | Sat Apr 23 15:11:05 2016 +0800 |
committer | Mark Brown <broonie@kernel.org> | Mon Apr 25 18:52:06 2016 +0100 |
tree | ad1231f9070fc34adef474b32f01e74d7bfc613e | |
parent | 45a91e8f767afbbffff46bf7251f81d15d121136 [diff] |
regulator: refactor valid_ops_mask checking code To make the code more compat and centralized, this patch add a unified function - regulator_ops_is_valid. So we can add some extra checking code easily later. Signed-off-by: WEN Pingbo <pingbo.wen@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>