OMAP2+: hwmod: Fix what _init_clock returns
authorRajendra Nayak <rnayak@ti.com>
Wed, 16 Feb 2011 12:11:24 +0000 (12:11 +0000)
committerPaul Walmsley <paul@pwsan.com>
Thu, 10 Mar 2011 10:23:55 +0000 (03:23 -0700)
commit09c35f2fee8a8633dde7b8b588b1cb496eb220a1
tree2c0f7e1ef401b328e87a89bbe67f37369e630940
parentd73d65fab1c29c3c0f9736aed9cb55ea53843b00
OMAP2+: hwmod: Fix what _init_clock returns

_init_clock always returns 0 and does
not propogate the error (in case of failure)
back to the caller, causing _init_clocks to
fail silently.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Acked-by: BenoƮt Cousson <b-cousson@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod.c