From: Jon Hunter Date: Thu, 19 Jul 2012 01:10:12 +0000 (-0500) Subject: ARM: OMAP: Remove unnecessary call to clk_get() X-Git-Tag: omap-for-v3.8/timer-signed^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7aba5540d3f1aa2d7248d2f81506d994b25b327;p=pandora-kernel.git ARM: OMAP: Remove unnecessary call to clk_get() Whenever we call the function omap_dm_timer_set_source() to set the clock source of a dmtimer we look-up the dmtimer functional clock source by calling clk_get(). This is not necessary because on requesting a dmtimer we look-up the functional clock source and store it in the omap_dm_timer structure. So instead of looking up the clock again used the clock handle that stored in the omap_dm_timer structure. Signed-off-by: Jon Hunter Acked-by: Santosh Shilimkar --- Reading git-diff-tree failed