From: Benoit Cousson Date: Thu, 20 May 2010 18:31:09 +0000 (-0600) Subject: OMAP: hwmod: Remove IS_ERR check with omap_clk_get_by_name return value X-Git-Tag: v2.6.35-rc1~456^2~1^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d3ae5a9a7b3685c6d260a82f4098145862b2cd3;p=pandora-kernel.git OMAP: hwmod: Remove IS_ERR check with omap_clk_get_by_name return value The previous clock API was returning a standard linux error code in case of failure. This is not the case anymore with the new omap_clk_get_by_name API. A NULL value means that the clock node does not exist. Replace all the IS_ERR check by a !clk check. Signed-off-by: Benoit Cousson Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed