regmap: Add helper function for checking if a register range is volatile
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 8 Nov 2011 17:37:25 +0000 (18:37 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 9 Nov 2011 00:56:51 +0000 (00:56 +0000)
We already have the same code for checking whether a register range is volatile
in two different places. Instead of duplicating it once more  add a small helper
function for checking whether a register range is voltaile.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found