misc: Fix irq leak in max8997_muic_probe error path
Current code does not properly free allocated irqs if request_threaded_irq returns error, fix it. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Acked-by: NMyungJoo Ham <myungjoo.ham@samsung.com> Acked-by: NArnd Bergmann <arnd@arndb.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录