]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/extcon/extcon-max8997.c
misc: Fix irq leak in max8997_muic_probe error path
authorAxel Lin <axel.lin@gmail.com>
Mon, 26 Mar 2012 01:57:08 +0000 (09:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Apr 2012 21:52:40 +0000 (14:52 -0700)
commit3241d56edda5cae37cc91b8031d6b52ed69d7eab
tree1c19fe6a09cc641035d69d5b6104f78079faa3c1
parente816b57a337ea3b755de72bec38c10c864f23015
misc: Fix irq leak in max8997_muic_probe error path

Current code does not properly free allocated irqs if request_threaded_irq
returns error, fix it.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/max8997-muic.c