regmap: fix some error messages to take account of irq_reg_stride
authorStephen Warren <swarren@nvidia.com>
Fri, 27 Jul 2012 19:01:54 +0000 (13:01 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 4 Aug 2012 11:13:53 +0000 (12:13 +0100)
commit16032624f511b2fac0671cba5e7da40aa7e73a66
tree4189c428c8372836bd930841cb406ddf376c33a5
parent0d7614f09c1ebdbaa1599a5aba7593f147bf96ee
regmap: fix some error messages to take account of irq_reg_stride

A number of places in the code were printing error messages that included
the address of a register, but were not calculating the register address
in the same way as the access to the register. Use a temporary to solve
this.

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