]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitae5d8af579354fb8e984735de9b4b6e9ad6fecb8
tree4059f9e0fe9a6f1a0e7abae665eb264e3506f6a6
parentecb44aec86f0a5e37142a971815f91e065645986
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