From: Axel Lin Date: Fri, 8 Jun 2012 00:35:37 +0000 (+0800) Subject: mfd: Fix max77693 irq leak and wrong kfree call X-Git-Tag: v3.6-rc1~47^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff2b7ac6f6c58b0011d9d73004fb6e396f514018;p=pandora-kernel.git mfd: Fix max77693 irq leak and wrong kfree call We need to call max77693_irq_exit() in max77693_i2c_probe error patch and max77693_i2c_remove. Current code already uses devm_kzalloc() to allocate memory for max77693. Thus we should not call kfree(max77693), otherwise we got double free. Signed-off-by: Axel Lin Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed