Skip to content
Commit 018690d3 authored by Mark Brown's avatar Mark Brown
Browse files

regmap: Allow regmap_update_bits() users to detect changes



Some users of regmap_update_bits() would like to be able to tell their
users if they actually did an update so provide a variant which also
returns a flag indicating if an update took place. We could return a
tristate in the return value of regmap_update_bits() but this makes the
API more cumbersome to use and doesn't fit with the general zero for
success idiom we have.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent c86845dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment