genirq: Fix potential memleak when failing to get irq pm
Obviously we should free action here if irq_chip_pm_get failed. Fixes: be45beb2: "genirq: Add runtime power management support for IRQ chips" Signed-off-by: NShawn Lin <shawn.lin@rock-chips.com> Cc: Jon Hunter <jonathanh@nvidia.com> Cc: Marc Zyngier <marc.zyngier@arm.com> Link: http://lkml.kernel.org/r/1471854112-13006-1-git-send-email-shawn.lin@rock-chips.comSigned-off-by: NThomas Gleixner <tglx@linutronix.de>
Showing
想要评论请 注册 或 登录