avr32: boards: setup: use IS_ERR() instead of NULL check
clk_get() returns ERR_PTR() on error, not NULL. Signed-off-by: NVasiliy Kulikov <segoon@openwall.com> Acked-by: NHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Showing
想要评论请 注册 或 登录