ARM: OMAP2+: Missing error code in omap_device_build()

We need to set the error code if omap_device_alloc() fails.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
Dan Carpenter 2017-11-14 09:06:48 +03:00 • committed by Tony Lindgren
commit e9a9bb4e47