mfd: Fix double free in wm8350 error path
authorJohan Hovold <jhovold@gmail.com>
Tue, 15 May 2012 17:45:40 +0000 (19:45 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 20 May 2012 15:27:09 +0000 (17:27 +0200)
commit65ee362cb2c13bd164ade0eda66919a2e16d8a89
treeedbe7e94f7edbe996dfa834affd7b65b86c1dad7
parentfa648e51f84d060ef991eeee4d7bacec45d7fbfd
mfd: Fix double free in wm8350 error path

Fix double free in probe error path introduced by the recent conversion
of wm8350 to use regmap.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm8350-i2c.c