arm: omap3: pm34xx.c: Fix omap3_pm_init() error out paths
authorMark A. Greer <mgreer@animalcreek.com>
Sun, 18 Mar 2012 01:22:47 +0000 (18:22 -0700)
committerKevin Hilman <khilman@ti.com>
Thu, 22 Mar 2012 23:11:17 +0000 (16:11 -0700)
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.

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>

No differences found