]> 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)
commit5ad8a824564d2b1ac9c607697e6a6f7ff026947b
tree50eb445157b91520524ad9f7ef9c6b890c185332
parentbb16ae32aaf5b65d416fb2c3448f3367db7996cd
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