OMAP3 clock: Check return values for clk_get()
authorSanjeev Premi <premi@ti.com>
Wed, 24 Feb 2010 19:05:56 +0000 (12:05 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 24 Feb 2010 19:05:56 +0000 (12:05 -0700)
commita51ba284076437ce36efc8dd9b15983546c043f7
tree9548b92b4255cd28e9c1c7bec2d8af95c440d9e0
parent3cc4a2fc2ed7727828f410ab092111cb56cefd61
OMAP3 clock: Check return values for clk_get()

This patch checks if clk_get() returned success for
the clocks used in function omap2_clk_arch_init().

This version incorporates review comments from
Kevin Hilman and Paul Walmsley.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clock34xx.c