regmap: if format_write is used, declare all registers as "unreadable"
authorWolfram Sang <w.sang@pengutronix.de>
Mon, 30 Jan 2012 14:08:16 +0000 (15:08 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 30 Jan 2012 16:23:11 +0000 (16:23 +0000)
Using .format_write means, we have a custom function to write to the
chip, but not to read back. Also, mark registers as "not precious" and
"not volatile" which is implicit because we cannot read them. Make those
functions use 'regmap_readable' to reuse the checks done there.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found