arm: omap2: io: fix clk_get() error check
authorAaro Koskinen <Aaro.Koskinen@nokia.com>
Tue, 30 Nov 2010 14:17:58 +0000 (14:17 +0000)
committerTony Lindgren <tony@atomide.com>
Wed, 8 Dec 2010 02:12:56 +0000 (18:12 -0800)
commite281f7ec95fbbf905c10e11c83231f3d9090c22f
tree6c00b86f2504e01075eab787bb8f643364a9b99b
parentcb9675f3282f5565cc9e3698cc847355c1194871
arm: omap2: io: fix clk_get() error check

clk_get() return value should be checked with IS_ERR().

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/io.c