sh: boards: mach-se: use IS_ERR() instead of NULL check
authorVasiliy Kulikov <segoon@openwall.com>
Fri, 26 Nov 2010 17:06:28 +0000 (17:06 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 29 Nov 2010 03:59:28 +0000 (12:59 +0900)
commit193006f7e3b1abd42d7a3677b54fa2996461a842
tree68410dfcc5fd3d2658f4e21e7c9df4f556d616ca
parent4bd5d259e451d35380de2fcd1a3510ae22d000a3
sh: boards: mach-se: use IS_ERR() instead of NULL check

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

Signed-off-by: Vasiliy Kulikov <segoon@openwall.com>
Reviewed-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/mach-se/7724/setup.c