From: Benoit Cousson Date: Wed, 19 May 2010 02:23:44 +0000 (-0600) Subject: OMAP: hwmod: Remove IS_ERR check with omap_clk_get_by_name return value X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27eb55c0038126b5a9fef58bcc3e7dac51f425b2;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