Skip to content

Commit 03ffcf3

Browse files
Krystian Garbaciakbroonie
authored andcommitted
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>
1 parent e2c98ea commit 03ffcf3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/regulator/core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2894,7 +2894,7 @@ int regulator_mode_to_status(unsigned int mode)
28942894
return REGULATOR_STATUS_NORMAL;
28952895
case REGULATOR_MODE_IDLE:
28962896
return REGULATOR_STATUS_IDLE;
2897-
case REGULATOR_STATUS_STANDBY:
2897+
case REGULATOR_MODE_STANDBY:
28982898
return REGULATOR_STATUS_STANDBY;
28992899
default:
29002900
return 0;

0 commit comments

Comments
 (0)