arm: plat-omap: counter_32k: use IS_ERR() instead of NULL check
authorVasiliy Kulikov <segoon@openwall.com>
Fri, 26 Nov 2010 17:06:02 +0000 (17:06 +0000)
committerTony Lindgren <tony@atomide.com>
Tue, 7 Dec 2010 00:00:16 +0000 (16:00 -0800)
commitcb9675f3282f5565cc9e3698cc847355c1194871
treeaca9ebc287f368f1497de2aa040fbabc6e5c46d1
parent859158bfab7e72af440622fb9731bcaef4e7d6dc
arm: plat-omap: counter_32k: use IS_ERR() instead of NULL check

clk_get() returns ERR_PTR() on error, not NULL.

Signed-off-by: Vasiliy Kulikov <segoon@openwall.com>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
[tony@atomide.com: updated to include err.h to compile on omap1]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/counter_32k.c