aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_cgroup.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-09 07:54:25 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-10 05:26:48 -0400
commitb03622a80d2206c4179d6a41a0dc5cfbdfc853ee (patch)
tree7f0e02bbddfd3930e3aabe553d9efb4c423c47fa /mm/page_cgroup.c
parente42c5a9a4230c38ceba0a890b30a2d0dd9314bff (diff)
regmap: Ensure rbtree syncs registers set to zero properly
Simplify the check for registers set at their default value by avoiding picking a default value in the case where we don't have one. Instead we only compare the current value to the current value when we looked one up. This fixes the case where we don't have a default stored but the value was set to zero when that isn't the chip default. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Diffstat (limited to 'mm/page_cgroup.c')
0 files changed, 0 insertions, 0 deletions