OMAP3/4: l3: fix omap3_l3_probe error path
authoromar ramirez <omar.ramirez@ti.com>
Mon, 18 Apr 2011 16:39:41 +0000 (16:39 +0000)
committerTony Lindgren <tony@atomide.com>
Tue, 3 May 2011 09:38:01 +0000 (02:38 -0700)
l3_smx:
- Add missing free_irq and remove an empty goto label.

l3_noc:
- If kzalloc fails driver shouldn't continue with a NULL pointer.
- Add missing free_irq and remove empty goto labels.
- Safe to assume that if we reached the end point of execution
  without errors, then return value is 0, so replacing instead
  another goto.

Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found