]> git.baikalelectronics.ru Git - kernel.git/commit
mc13783-regulator: fix a memory leak in mc13783_regulator_remove
authorAxel Lin <axel.lin@gmail.com>
Mon, 19 Apr 2010 01:58:02 +0000 (09:58 +0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 19 Apr 2010 12:29:16 +0000 (13:29 +0100)
commit76b955ed4a720568509740af74b94be5821075e3
tree412243f269fbc8b151c19113e576660590b31711
parentffa634b0e0d16663444036280f1e6733e1e7ca83
mc13783-regulator: fix a memory leak in mc13783_regulator_remove

This patch fixes a memory leak by freeing priv in mc13783_regulator_remove

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Liam Girdwood <lrg@slimlogic.co.uk>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/mc13783-regulator.c