projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'hsi-for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi
[linux-2.6-block.git]
/
drivers
/
regulator
/
twl-regulator.c
diff --git
a/drivers/regulator/twl-regulator.c
b/drivers/regulator/twl-regulator.c
index a4456db5849d06282b7eb2884d20e8da29093753..884c7505ed91c493b127e680b7406773952fc1d7 100644
(file)
--- a/
drivers/regulator/twl-regulator.c
+++ b/
drivers/regulator/twl-regulator.c
@@
-274,7
+274,7
@@
static inline unsigned int twl4030reg_map_mode(unsigned int mode)
case RES_STATE_SLEEP:
return REGULATOR_MODE_STANDBY;
default:
- return
-EINVAL
;
+ return
REGULATOR_MODE_INVALID
;
}
}