diff options
author | Jon Hunter <jon-hunter@ti.com> | 2012-07-18 20:10:12 -0500 |
---|---|---|
committer | Jon Hunter <jon-hunter@ti.com> | 2012-11-12 16:23:56 -0600 |
commit | d7aba5540d3f1aa2d7248d2f81506d994b25b327 (patch) | |
tree | de6cd0f50c12ee907d4b378951781e3cf67a11f3 /drivers | |
parent | ARM: OMAP: Add dmtimer interrupt disable function (diff) | |
download | linux-dev-d7aba5540d3f1aa2d7248d2f81506d994b25b327.tar.xz linux-dev-d7aba5540d3f1aa2d7248d2f81506d994b25b327.zip |
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 <jon-hunter@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions