aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDaniel Lezcano2012-10-26 12:26:24 +0200
committerRafael J. Wysocki2012-11-15 00:34:19 +0100
commit1aef40e288acfb3cc28ff77528b34ef66683bed6 (patch)
treec62a1d0448a07aef5a987dac44135de3c74522b9 /tools
parent77b67063bb6bce6d475e910d3b886a606d0d91f7 (diff)
cpuidle / sysfs: change function parameter
The function needs the cpuidle_device which is initially passed to the caller. The current code gets the struct device from the struct cpuidle_device, pass it the cpuidle_add_sysfs function. This function calls per_cpu(cpuidle_devices, cpu) to get the cpuidle_device. This patch pass the cpuidle_device instead and simplify the code. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions