diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-12 05:46:26 +0400 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2012-06-18 07:19:59 +0400 |
commit | 92311c3c70f9b7f1b7860c2fc2ada09b4d43bfea (patch) | |
tree | 5fdcf24cdc4d9419b7802f29963de6ee9388caa6 /drivers/power/ds2781_battery.c | |
parent | 485802a6c524e62b5924849dd727ddbb1497cc71 (diff) | |
download | linux-92311c3c70f9b7f1b7860c2fc2ada09b4d43bfea.tar.xz |
pda_power: Complain if regulator operations fail
Rather than silently ignoring errors from the regulator enable and disable
add a WARN_ON() - it's probably pretty important if we're not getting
power, though it should be vanishingly unlikely in production.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/power/ds2781_battery.c')
0 files changed, 0 insertions, 0 deletions