Skip to content
Commit 36b471e0 authored by Vasiliy Kulikov's avatar Vasiliy Kulikov Committed by Hans-Christian Egtvedt
Browse files

avr32: boards: setup: 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 avatarHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
parent 3c0eee3f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment