regmap: Implement generic syncing functionality
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Tue, 27 Sep 2011 10:25:06 +0000 (11:25 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 27 Sep 2011 19:06:38 +0000 (20:06 +0100)
commit954757d767a78bc4b863fa9ea703bd7f814c8a55
treecff3d871b42f24e57253b69e27388ad48e7ade4d
parentdfdc4448e078d06bdba0da52db7176437877788f
regmap: Implement generic syncing functionality

In the absence of a sync callback, do it manually.  This of course
can't take advantange of the specific optimizations of each
cache type but it will do well enough in most cases.

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