omap: device: improve errors handling
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 12 Jul 2010 13:38:07 +0000 (13:38 +0000)
committerTony Lindgren <tony@atomide.com>
Wed, 4 Aug 2010 11:43:51 +0000 (14:43 +0300)
commit49b368a6b3e803fe4f0a10c14f8fde3f20998f04
tree2e6077341970ccabb6f93222a36b42a30b105a12
parent7590d1defdc720a97a9e186f45f529c4ae1b40f7
omap: device: improve errors handling

Do not forget to check the 'platform_device_add_data()' error code
in 'omap_device_build_ss()'.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Acked-by: Nishanth Menon <nm@ti.com>
Acked-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/omap_device.c