Skip to content
Commit 14a34396 authored by Kamil Konieczny's avatar Kamil Konieczny Committed by Chanwoo Choi
Browse files

PM / devfreq: Add clearing transitions stats



Add clearing transition table and time in states devfreq statistics
by writing 0 (zero) to trans_stat file in devfreq sysfs. An example use
is like following:

echo 0 > /sys/class/devfreq/devfreqX/trans_stat

Signed-off-by: default avatarKamil Konieczny <k.konieczny@samsung.com>
[cw00.choi: Edit return value if entering the wrong value for reset
 and use arrary3_size() to get the size of 3-dimensional array]
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent b76b3479
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment