]> Pileus Git - ~andy/linux/commit
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)
commitce229c5d79c03f09d4612dd2bcbff532fdc24e80
tree5261fc07ea405f8e27234a99f1c28ff4b5813d9b
parent68523f4233de5f233478dde0a63047b4efb710b8
arm: omap3: pm34xx.c: Fix omap3_pm_init() error out paths

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>
arch/arm/mach-omap2/pm34xx.c