aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2012-01-30 15:08:16 +0100
committerMark Brown <[email protected]>2012-01-30 16:23:11 +0000
commit4191f19792bf91267835eb090d970e9cd6277a65 (patch)
treeef01c8d48b3d6fd9c3f1bbffb4a77c7560c1d4d5 /lib/memory-notifier-error-inject.c
parentc212acccc368a087a53559aac2b7d3be941b1252 (diff)
regmap: if format_write is used, declare all registers as "unreadable"
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions