arm: omap: sdram-nokia: improve error handling
commit2b1af87ace4776f0d0c3513923a79529fc1b5a00
authorAaro Koskinen <aaro.koskinen@nokia.com>
Fri, 17 Dec 2010 23:13:46 +0000 (17 15:13 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 17 Dec 2010 23:13:46 +0000 (17 15:13 -0800)
treee044569840947787d9fd608419264fda6a4a728d
parente5f5b5422d064b7a393e39332da31af68e975f91
arm: omap: sdram-nokia: improve error handling

Actually check for errors: print an error log and return NULL.

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/sdram-nokia.c