regmap: Fix bulk reads
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 24 Jul 2011 21:39:12 +0000 (22:39 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 24 Jul 2011 21:44:51 +0000 (22:44 +0100)
commit40c5cc263954444f5a76cbf25d408c42da480122
tree29b05a44f2953fd544c60949e18c1f78e39f9fcc
parent90923351d480fffd0d24646db83f6f8315eed0d9
regmap: Fix bulk reads

We should be reading the number of bytes we were asked for, not the size
of a single register.

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