regmap: mmio: convert some error returns to BUG()
authorStephen Warren <swarren@nvidia.com>
Fri, 6 Apr 2012 21:17:32 +0000 (15:17 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 7 Apr 2012 08:25:34 +0000 (09:25 +0100)
commit40606dba450830e50420599c52a86cf6ce5c6a14
tree05ba5a5027b2e583e8c66b96516ae8d0c7c09944
parent45f5ff8107a845854b1d1812ab1d9c5541f08b4d
regmap: mmio: convert some error returns to BUG()

Some of the error conditions detected by regmap_mmio_*() are pure internal
errors, rather than user-/client-triggerable conditions. Convert these to
BUG().

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