summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/intel_pstate.c
diff options
context:
space:
mode:
authorShilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>2016-04-19 15:28:00 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-04-27 23:56:58 +0200
commit2920e9ce8f43a946e3c257a7c0ee35b02149fca7 (patch)
tree484f63d6567bcdc435b8a49b9ae88ee3e20f0dc9 /drivers/cpufreq/intel_pstate.c
parent6de0dc4b536110d63a83021b7e6dce3e1955297b (diff)
downloadlinux-2920e9ce8f43a946e3c257a7c0ee35b02149fca7.tar.gz
linux-2920e9ce8f43a946e3c257a7c0ee35b02149fca7.tar.bz2
linux-2920e9ce8f43a946e3c257a7c0ee35b02149fca7.zip
cpufreq: powernv: Remove flag use-case of policy->driver_data
commit 1b0289848d5d ("cpufreq: powernv: Add sysfs attributes to show throttle stats") used policy->driver_data as a flag for one-time creation of throttle sysfs files. Instead of this use 'kernfs_find_and_get()' to check if the attribute already exists. This is required as policy->driver_data is used for other purposes in the later patch. Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> Signed-off-by: Akshay Adiga <akshay.adiga@linux.vnet.ibm.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/intel_pstate.c')
0 files changed, 0 insertions, 0 deletions