diff options
author | Krystian Garbaciak <krystian.garbaciak@diasemi.com> | 2012-07-12 11:50:38 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-07-12 18:19:20 +0100 |
commit | 03ffcf3d0838bd5e693cd4520becfb22577cf34d (patch) | |
tree | 92653f1e7cf620bc9a1c94729efdea35a6e94f94 /drivers/regulator/core.c | |
parent | e2c98eaf928a2a0ecaca1db9aa5dc56a36699d9f (diff) | |
download | lwn-03ffcf3d0838bd5e693cd4520becfb22577cf34d.tar.gz lwn-03ffcf3d0838bd5e693cd4520becfb22577cf34d.zip |
regulator: Fix a typo in regulator_mode_to_status() core function.
Case REGULATOR_STATUS_STANDBY -> REGULATOR_MODE_STANDBY.
Signed-off-by: Krystian Garbaciak <krystian.garbaciak@diasemi.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/core.c')
-rw-r--r-- | drivers/regulator/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 974276afd1f0..4b136f8cb99f 100644 --- 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; |