projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4662db4
)
regulator: Fix warning with CONFIG_BUG disabled
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Wed, 2 Feb 2011 20:17:22 +0000
(20:17 +0000)
committer
Liam Girdwood
<lrg@slimlogic.co.uk>
Fri, 25 Feb 2011 08:51:05 +0000
(08:51 +0000)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/wm831x-dcdc.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/wm831x-dcdc.c
b/drivers/regulator/wm831x-dcdc.c
index
8b0d2c4
..
06df898
100644
(file)
--- a/
drivers/regulator/wm831x-dcdc.c
+++ b/
drivers/regulator/wm831x-dcdc.c
@@
-120,6
+120,7
@@
static unsigned int wm831x_dcdc_get_mode(struct regulator_dev *rdev)
return REGULATOR_MODE_IDLE;
default:
BUG();
+ return -EINVAL;
}
}