cpufreq: stats: New sysfs attribute for clearing statistics
authorMarkus Mayer <mmayer@broadcom.com>
Mon, 7 Nov 2016 18:02:23 +0000 (10:02 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 11 Nov 2016 00:51:11 +0000 (01:51 +0100)
commitee7930ee27fe5240398cc302fa8eb4454725f188
tree4ad6af7f88a71a8238e3e48778876c3fff64f6f5
parent26f0dbc9ab158afe86bac5ece2fcaf873d6bd8ad
cpufreq: stats: New sysfs attribute for clearing statistics

Allow CPUfreq statistics to be cleared by writing anything to
/sys/.../cpufreq/stats/reset.

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/cpu-freq/cpufreq-stats.txt
drivers/cpufreq/cpufreq_stats.c
include/linux/cpufreq.h