summaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-06-08 08:35:37 +0800
committerSamuel Ortiz <sameo@linux.intel.com>2012-07-09 00:16:11 +0200
commitff2b7ac6f6c58b0011d9d73004fb6e396f514018 (patch)
tree303de9ac1aad6192f1af84a460de39a98500cf3d /arch/s390/kvm
parent8b7353d17542b2a513aa62a9856215e99ddb8403 (diff)
downloadblackbird-obmc-linux-ff2b7ac6f6c58b0011d9d73004fb6e396f514018.tar.gz
blackbird-obmc-linux-ff2b7ac6f6c58b0011d9d73004fb6e396f514018.zip
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 <axel.lin@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'arch/s390/kvm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud