From: Russell King Date: Sat, 30 Apr 2011 09:14:08 +0000 (+0100) Subject: CLKDEV: Fix clkdev return value for NULL clk case X-Git-Tag: v2.6.39-rc6~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8bf8df9c296b782c32236c6a5893aec301320c7;p=pandora-kernel.git CLKDEV: Fix clkdev return value for NULL clk case clkdev may incorrectly cause a clkdev entry with a NULL clk to return -ENOENT. This is not the intention of this code; -ENOENT should only be returned if the clock entry can not be found in the table. Fix this. Reported-by: Stephen Boyd Signed-off-by: Russell King --- Reading git-diff-tree failed