cpufreq: stats: free table and remove sysfs entry in a single routine
We don't have code paths now where we need to do these two things separately, so it is better do them in a single routine. Just as they are allocated in a single routine. Change-Id: I42f5245d0f9a0c38583f20397b453ae2a0e4f268 Acked-by:Nicolas Pitre <nico@linaro.org> Tested-by:
Nicolas Pitre <nico@linaro.org> Signed-off-by:
Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com> Git-commit: 2d13594dcb7eaa41fa180e8a3b27a8f10845381f Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by:
Junjie Wu <junjiew@codeaurora.org>
Loading
Please register or sign in to comment