Skip to content
Commit cb9675f3 authored by Vasiliy Kulikov's avatar Vasiliy Kulikov Committed by Tony Lindgren
Browse files

arm: plat-omap: counter_32k: use IS_ERR() instead of NULL check



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

Signed-off-by: default avatarVasiliy Kulikov <segoon@openwall.com>
Acked-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
[tony@atomide.com: updated to include err.h to compile on omap1]
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 859158bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment