[PATCH 1/2] arm: omap3: pm34xx.c: Fix omap3_pm_init() error out paths

2012-03-15 Thread Mark A. Greer
From: "Mark A. Greer" It appears that the error paths were overlooked when the omap3_pm_init() routine had the prcm chain handler code added. Fix this by adding a goto target and reordering the error handling code. Also fix how the irq argument for free_irq() is determined. CC: Tero Kristo Si

[PATCH 1/2] arm: omap3: pm34xx.c: Fix :omap3_pm_init() error out paths

2012-03-15 Thread Mark A. Greer
It appears that the error paths were overlooked when the omap3_pm_init() routine had the prcm chain handler code added. Fix this by adding a goto target and reordering the error handling code. Also fix how the irq argument for free_irq() is determined. CC: Tero Kristo Signed-off-by: Mark A. Gre