]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Fri, 13 Apr 2012 10:29:17 +0000 (11:29 +0100)
commit7f5f7a5d30b71542515f7695639345e92edb0d2e
tree4059f9e0fe9a6f1a0e7abae665eb264e3506f6a6
parent5bbd53b7a809704a2cb98e374785100fb3c9fee9
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