ARM: OMAP: Remove useless omap_sram_error function.
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Mon, 25 May 2009 18:08:37 +0000 (11:08 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 25 May 2009 18:08:37 +0000 (11:08 -0700)
commitaf5703f2beb490fc700a30d0b87e84da0cf42086
treea42695d75ec5e86219e326549204f1385a3c3d09
parentaea2a5b03c6476175c6f498a72cfbe73f7f47528
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