Skip to content
Commit 8a34e979 authored by WEN Pingbo's avatar WEN Pingbo Committed by Mark Brown
Browse files

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: default avatarWEN Pingbo <pingbo.wen@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 45a91e8f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment