Upstream kernel has deprecated the use of arch_counter_get_cntpct() and the
drivers are expected to switch to arch_counter_get_cntvct.
Switch to using arch_counter_get_cntvct().
Change-Id: I3eeefff492889b57837a8334eb933c22d0e4917a
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
time = get_time_in_msec(time);
seq_printf(m, "\ttime in last mode(msec):%llu\n", time);
- time = arch_counter_get_cntpct() - rs.last_exited_at;
+ time = arch_counter_get_cntvct() - rs.last_exited_at;
time = get_time_in_sec(time);
seq_printf(m, "\ttime since last mode(sec):%llu\n", time);