clk: qcom: clk-cpu-osm: Correct the logic to return the CPU cycle counter

The total CPU cycle counter for a core clock might be modified
before returning to the client. Use a variable instead for
storing and returning this information.

Change-Id: I12a8495ddcd817c902c77e91c39905bbec9ea812
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
1 file changed