From: viresh kumar Date: Tue, 9 Mar 2010 10:54:30 +0000 (+0100) Subject: ARM: 5979/1: CLKDEV: return from clk_find as soon as we get maching clk X-Git-Tag: v2.6.35-rc1~503^2~4^5~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4bf5becccf4685754c4d8e4485bb2ff7d28147f;p=pandora-kernel.git ARM: 5979/1: CLKDEV: return from clk_find as soon as we get maching clk clk_find function looks for clock with matching dev_id and con_id. We should return from clk_find as soon as we get a clock with matching dev_id and con_id. This can be done by comparing variable "match" with 3. Acked-by: Uwe Kleine-Konig Signed-off-by: Viresh Kumar Signed-off-by: Russell King --- Reading git-diff-tree failed