Axel Lin 8c46cf30f7 mfd: Fix wrong wm8350-core kfree in error path
This patch includes below fixes:
1. fix wm8350_create_cache error path
   make sure wm8350->reg_cache is freed in error path.
2. fix wm8350_device_init error path
   no need to kfree(wm8350->reg_cache) in the case of goto out.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2010-08-12 11:28:08 +02:00
..
2010-05-28 01:38:00 +02:00
2010-08-12 11:27:59 +02:00
2010-08-12 11:27:59 +02:00
2010-08-12 11:27:16 +02:00
2010-08-12 11:28:00 +02:00
2010-08-12 11:28:00 +02:00
2010-05-28 01:38:02 +02:00
2010-08-12 11:27:59 +02:00
2010-08-12 11:28:00 +02:00
2009-09-17 09:46:59 +02:00
2010-03-07 22:16:57 +01:00