avr32: boards: setup: 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: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
This commit is contained in:
Vasiliy Kulikov 2010-11-26 20:06:12 +03:00 • committed by Hans-Christian Egtvedt
commit 36b471e047
6 changed files with 6 additions and 6 deletions