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)
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>

No differences found