From: Wolfram Sang Date: Mon, 30 Jan 2012 14:08:16 +0000 (+0100) Subject: regmap: if format_write is used, declare all registers as "unreadable" X-Git-Tag: v3.2.64~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88d4b8a68967090fd4e7e85b59fa0e2fd9a38965;p=pandora-kernel.git regmap: if format_write is used, declare all registers as "unreadable" commit 4191f19792bf91267835eb090d970e9cd6277a65 upstream. 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 Signed-off-by: Mark Brown Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed