diff options
author | WEN Pingbo <pingbo.wen@linaro.org> | 2016-04-23 09:11:05 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-04-25 19:52:06 +0200 |
commit | 8a34e979f684aa13e6c4bf23b394cca9dfabf4a9 (patch) | |
tree | ad1231f9070fc34adef474b32f01e74d7bfc613e /drivers/pcmcia/ricoh.h | |
parent | regulator: core: Log when we bring constraints into range (diff) | |
download | linux-8a34e979f684aa13e6c4bf23b394cca9dfabf4a9.tar.xz linux-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 'drivers/pcmcia/ricoh.h')
0 files changed, 0 insertions, 0 deletions