regmap: Return an error if a caller attempts to do an unsupported raw read
authorMark Brown <broonie@kernel.org>
Mon, 1 Feb 2016 21:09:14 +0000 (21:09 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 1 Feb 2016 21:11:38 +0000 (21:11 +0000)
commitbb2bb45d1be28987e6cb50f50e4819795537ab83
treefe74c7504043119b2f4f1ba67adf8d8ef224f220
parent922a9f936e40001f9b921379aab90047d5990923
regmap: Return an error if a caller attempts to do an unsupported raw read

regmaps without raw I/O access can't implement raw I/O operations,
return an error if someone tries to do that rather than crashing.

Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap.c