regulator: Fix memory leak in max8998_pmic_probe failure path
commit6be6e96fe90962171f31c099a5e7c28a49a0d0ae
authorAxel Lin <axel.lin@gmail.com>
Fri, 13 May 2011 06:54:06 +0000 (13 14:54 +0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Fri, 27 May 2011 09:49:09 +0000 (27 10:49 +0100)
tree3fe77e25d2375db4c2ce92043d7d0a83c007fbd1
parent77fa44d0e10711e899788c58fe53f8f7b18c7f67
regulator: Fix memory leak in max8998_pmic_probe failure path

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/max8998.c