From: Russell King Date: Sun, 24 Feb 2013 10:46:59 +0000 (+0000) Subject: ARM: cleanup: clk_get() error handling X-Git-Tag: omap-for-v3.10/timer-signed~1^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86287958bdc49e17dfe3dc8a5dd6234235d9c945;p=pandora-kernel.git ARM: cleanup: clk_get() error handling Use the correct IS_ERR() to determine if clk_get() returned an error. Set timer->fclk to be an error value initially, and check everywhere using IS_ERR(). This keeps the range of valid values for 'struct clk' consistent. Signed-off-by: Russell King --- Reading git-diff-tree failed