]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
regmap: Add a helper function for regcache sync test
authorKevin Cernekee <cernekee@chromium.org>
Tue, 5 May 2015 22:14:13 +0000 (15:14 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 6 May 2015 12:01:25 +0000 (13:01 +0100)
commit3969fa080661dcdf20d04392b900189086e04c2c
treef5b3f8a7a55067e1d6d198dd5b31f410b6abe4b6
parentb787f68c36d49bb1d9236f403813641efa74a031
regmap: Add a helper function for regcache sync test

We're going to add another "does this register need syncing?" check, so
rather than repeating it in three places, we'll separate all of the
relevant logic into a helper function.

Signed-off-by: Kevin Cernekee <cernekee@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regcache.c