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: NLibo Chen <libo.chen@huawei.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
Showing
想要评论请 注册 或 登录