diff options
Diffstat (limited to 'drivers/regulator/core.c')
-rw-r--r-- | drivers/regulator/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 02a774424e8..5e1cb5f65d6 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -1113,6 +1113,7 @@ int regulator_disable(struct regulator *regulator) if (!regulator->enabled) { printk(KERN_ERR "%s: not in use by this consumer\n", __func__); + WARN_ON(1); return 0; } |