regmap: Implement writable register checks
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 24 Jul 2011 10:46:20 +0000 (11:46 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 8 Aug 2011 06:56:41 +0000 (15:56 +0900)
commit73304781274200c341996f65220d36b3cda8e217
tree3f5bb6f1b17b68392c360b9de15da756de274a0b
parentfb2736bbaee0e704a4f33912cf532597b2dc5b33
regmap: Implement writable register checks

This is mainly intended to be used by devices which can dynamically
block register writes at runtime, for other devices there is usually
limited value.

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