From: Wei Yongjun Date: Tue, 29 Oct 2013 02:07:57 +0000 (+0100) Subject: clk: tegra: fix __clk_lookup() return value checks X-Git-Tag: cleanup-for-linus~7^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62ce7cd62f534023224912dc9b909963f26a38da;p=pandora-kernel.git clk: tegra: fix __clk_lookup() return value checks In case of error, the function __clk_lookup() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun Signed-off-by: Peter De Schrijver --- Reading git-diff-tree failed