From: Dirk Brandewie Date: Mon, 13 Oct 2014 15:37:40 +0000 (-0700) Subject: cpufreq: expose scaling_cur_freq sysfs file for set_policy() drivers X-Git-Tag: fixes-against-v3.18-rc2~13^2^3~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c034b02e213d271b98c45c4a7b54af8f69aaac1e;p=pandora-kernel.git cpufreq: expose scaling_cur_freq sysfs file for set_policy() drivers Currently the core does not expose scaling_cur_freq for set_policy() drivers this breaks some userspace monitoring tools. Change the core to expose this file for all drivers and if the set_policy() driver supports the get() callback use it to retrieve the current frequency. Link: https://bugzilla.kernel.org/show_bug.cgi?id=73741 Cc: All applicable Signed-off-by: Dirk Brandewie Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed