dereferencing freed memory regulator_fixed_voltage_remove()
authorDan Carpenter <error27@gmail.com>
Mon, 16 Nov 2009 09:05:03 +0000 (11:05 +0200)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 16 Nov 2009 12:40:25 +0000 (12:40 +0000)
commit80099c707e0915ac3159ddc70fb714adbb3d53e3
tree621aefafce62e64ab79a999b9cd4bebe9ef47e6d
parent9a767d43fbddb3319dca568df49c48e0d1bb6bd8
dereferencing freed memory regulator_fixed_voltage_remove()

Don't dereference drvdata after it has been freed.

regards,
dan carpenter

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/fixed.c