Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 935a5210 authored by MyungJoo Ham's avatar MyungJoo Ham Committed by Mark Brown
Browse files

regulator: add regulator_force_disable() definition for !CONFIG_REGULATOR



regulator_force_disable() was omitted in consumer.h for
!CONFIG_REGULATOR case.

Signed-off-by: default avatarMyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent b2296bd4
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -212,6 +212,11 @@ static inline int regulator_disable(struct regulator *regulator)
	return 0;
}

static inline int regulator_force_disable(struct regulator *regulator)
{
	return 0;
}

static inline int regulator_disable_deferred(struct regulator *regulator,
					     int ms)
{