sh: fix clk_get() error handling
commit56ea510962ec690ede2be2064de72e51a33011d9
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 15 Oct 2010 14:37:24 +0000 (15 14:37 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 18 Oct 2010 11:33:10 +0000 (18 20:33 +0900)
tree67f8acf241a7723ab82909368fcdc347c006c3ce
parente5690e0dcffe38fa7b4b6336169a0c518d8a688e
sh: fix clk_get() error handling

clk_get() returns an ERR_PTR(errno) on error and not NULL.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/mach-ecovec24/setup.c