avr32: boards: setup: use IS_ERR() instead of NULL check
authorVasiliy Kulikov <segoon@openwall.com>
Fri, 26 Nov 2010 17:06:12 +0000 (20:06 +0300)
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Thu, 13 Jan 2011 19:40:53 +0000 (20:40 +0100)
commit36b471e047a77eaf3ec8e693bd9d8291c4dfd864
treeeaedd7ca560587611a34c0ff05503d2a129e956b
parent3c0eee3fe6a3a1c745379547c7e7c904aa64f6d5
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>
arch/avr32/boards/atngw100/setup.c
arch/avr32/boards/atstk1000/atstk1002.c
arch/avr32/boards/favr-32/setup.c
arch/avr32/boards/hammerhead/setup.c
arch/avr32/boards/merisc/setup.c
arch/avr32/boards/mimc200/setup.c