projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2c98ea
)
regulator: Fix a typo in regulator_mode_to_status() core function.
author
Krystian Garbaciak
<
[email protected]
>
Thu, 12 Jul 2012 10:50:38 +0000
(11:50 +0100)
committer
Mark Brown
<
[email protected]
>
Thu, 12 Jul 2012 17:19:20 +0000
(18:19 +0100)
Case REGULATOR_STATUS_STANDBY -> REGULATOR_MODE_STANDBY.
Signed-off-by: Krystian Garbaciak <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
drivers/regulator/core.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/core.c
b/drivers/regulator/core.c
index 974276afd1f0672707f332941da72a31b96b8dbd..4b136f8cb99fc2e555db41530887ee5d1a2f9e94 100644
(file)
--- a/
drivers/regulator/core.c
+++ b/
drivers/regulator/core.c
@@
-2894,7
+2894,7
@@
int regulator_mode_to_status(unsigned int mode)
return REGULATOR_STATUS_NORMAL;
case REGULATOR_MODE_IDLE:
return REGULATOR_STATUS_IDLE;
- case REGULATOR_
STATUS
_STANDBY:
+ case REGULATOR_
MODE
_STANDBY:
return REGULATOR_STATUS_STANDBY;
default:
return 0;