regulator: tps65910: Fix a memory leak in tps65910_probe error path
commita3ee13ee77feea001597415f3a231a8bd4d3c6bf
authorAxel Lin <axel.lin@gmail.com>
Sun, 10 Jul 2011 10:52:07 +0000 (10 18:52 +0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Fri, 22 Jul 2011 10:37:15 +0000 (22 11:37 +0100)
treed61166fa048e5e354c605c55ca944c9e13de46cb
parentaf8b244f733383656c8b4c0c6e94e210e7bbc596
regulator: tps65910: Fix a memory leak in tps65910_probe error path

Fix a memory leak if chip id is not matched.

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