diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-29 21:10:36 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-29 21:15:50 +0100 |
commit | 018690d33ecf4aa1eb1415e38c40e2b0b6c7808e (patch) | |
tree | 3ae08fb9d199813840564fb392ebc9b4a5d8c230 /include/trace/events | |
parent | Merge remote-tracking branch 'regmap/topic/irq' into regmap-next (diff) | |
download | linux-018690d33ecf4aa1eb1415e38c40e2b0b6c7808e.tar.xz linux-018690d33ecf4aa1eb1415e38c40e2b0b6c7808e.zip |
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: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/trace/events')
0 files changed, 0 insertions, 0 deletions