ARM: OMAP: Remove useless omap_sram_error function.
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Mon, 25 May 2009 18:26:48 +0000 (11:26 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 25 May 2009 18:26:48 +0000 (11:26 -0700)
commitda7a0649bc8f3f65a01cb14e8b5c97e2ff40098a
treea42695d75ec5e86219e326549204f1385a3c3d09
parentce8a17fd3f19baac0171611a73d5ac2072f45c7a
ARM: OMAP: Remove useless omap_sram_error function.

This patch removes fixes omap_sram_error() function and replace the
error paths with BUG_ON.

The proposed fix was suggested by Russell King <rmk+kernel@arm.linux.org.uk>

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/sram.c