summaryrefslogtreecommitdiffstats
path: root/lib/dec_and_lock.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-04-27 21:41:19 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-04-27 23:11:33 -0700
commit5c9db64888ecabfb170081335f30e3d7192fbcf4 (patch)
tree6fa985a63548bae965d89c70c964095ea07f359f /lib/dec_and_lock.c
parent60c8ba6478bb483ecd6069f566d02e33d319e72e (diff)
downloadtalos-obmc-linux-5c9db64888ecabfb170081335f30e3d7192fbcf4.tar.gz
talos-obmc-linux-5c9db64888ecabfb170081335f30e3d7192fbcf4.zip
Input: twl4030-pwrbutton - fix a leak of the IRQ during init failure
In twl4030_pwrbutton_probe error path, free_irq() was using NULL rather than the driver data as the data pointer so free_irq() wouldn't have matched. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud