mfd: Fix incorrect kfree(i2c) in wm8994-core i2c_driver probe
commitd0a11693967295772d2a7c22b6b37eb20684e709
authorAxel Lin <axel.lin@gmail.com>
Mon, 9 Aug 2010 06:52:16 +0000 (9 14:52 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 12 Aug 2010 09:28:14 +0000 (12 11:28 +0200)
treef06b8c1faef0f39646da69c8712f270707120d85
parenta2cddb6e416721cfe07770c264100607997fd8cb
mfd: Fix incorrect kfree(i2c) in wm8994-core i2c_driver probe

The i2c_client received in probe() should not be kfree()'d.

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>
drivers/mfd/wm8994-core.c