]> git.baikalelectronics.ru Git - kernel.git/commit
x86 platform drivers: fix gpio leak
authorLibo Chen <clbchenlibo.chen@huawei.com>
Tue, 9 Jul 2013 12:34:28 +0000 (20:34 +0800)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 10 Jul 2013 19:42:51 +0000 (15:42 -0400)
commitc74960fad75abedad2cc1ddda174c7f45c9dcf52
tree50eb445157b91520524ad9f7ef9c6b890c185332
parent478dccfa7aafa6caf672f906bb81a337eda38cd5
x86 platform drivers: fix gpio leak

when request_irq fails, we should release gpiochip

v2:
  fix warning: ignoring return value of 'gpiochip_remove

Signed-off-by: Libo Chen <libo.chen@huawei.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/intel_pmic_gpio.c