diff options
Diffstat (limited to 'drivers/regulator/tps65910-regulator.c')
-rw-r--r-- | drivers/regulator/tps65910-regulator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/tps65910-regulator.c b/drivers/regulator/tps65910-regulator.c index 55dd4e6650d..b07a66471fb 100644 --- a/drivers/regulator/tps65910-regulator.c +++ b/drivers/regulator/tps65910-regulator.c @@ -903,6 +903,7 @@ static __devinit int tps65910_probe(struct platform_device *pdev) info = tps65911_regs; default: pr_err("Invalid tps chip version\n"); + kfree(pmic); return -ENODEV; } |