mfd: max8998 - fix incorrect kfree(i2c) in i2c_driver probe callback handler
authorAxel Lin <axel.lin@gmail.com>
Mon, 9 Aug 2010 06:48:16 +0000 (14:48 +0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 11 Aug 2010 10:38:02 +0000 (11:38 +0100)
commit8f1f151ed8ae4063837221cc9f5386a7af59f4e0
treecde2de0cc29c272dfcf489f168dc6c698db006f7
parent1bddc2f5c1727577183761581d5d4d1b00a8bd63
mfd: max8998 - fix incorrect kfree(i2c) in i2c_driver probe callback handler

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

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/mfd/max8998.c