regmap: Mark the cache as clean after a successful sync
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 23 Feb 2012 22:05:59 +0000 (22:05 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 23 Feb 2012 22:07:19 +0000 (22:07 +0000)
commit6ff7373809a9b4eb644d83e2e299da297e1cbffa
treeb8cb568ef36f900a356327e2bb5ea19cb77719ec
parentc3ec23288a92e20e0aff84a4cb6fbc7cc9bcf567
regmap: Mark the cache as clean after a successful sync

Previously the cache would never be marked clean, meaning syncs would
never be suppressed which isn't the end of the world but could be
inefficient.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/regcache.c