diff options
author | WEN Pingbo <pingbo.wen@linaro.org> | 2016-04-23 15:11:05 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-04-25 18:52:06 +0100 |
commit | 8a34e979f684aa13e6c4bf23b394cca9dfabf4a9 (patch) | |
tree | ad1231f9070fc34adef474b32f01e74d7bfc613e /include/linux/regulator | |
parent | regulator: core: Log when we bring constraints into range (diff) | |
download | linux-dev-8a34e979f684aa13e6c4bf23b394cca9dfabf4a9.tar.xz linux-dev-8a34e979f684aa13e6c4bf23b394cca9dfabf4a9.zip |
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>
Diffstat (limited to 'include/linux/regulator')
0 files changed, 0 insertions, 0 deletions