summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2016-11-18 18:09:50 +0300
committerGuenter Roeck <linux@roeck-us.net>2016-12-10 08:54:27 +0300
commitdf60d7013c36f86f7653af387915019d7da49613 (patch)
tree45c3240903a0b419b79c797ea77e69ef8574ad36 /tools/perf
parent8017c0f2989f077a665bbf7881a1154ecd8334e7 (diff)
downloadlinux-df60d7013c36f86f7653af387915019d7da49613.tar.xz
hwmon: (via-cputemp) Convert to hotplug state machine
Install the callbacks via the state machine and let the core invoke the callbacks on the already online CPUs. When the hotplug state is unregistered the cleanup function is called for each cpu. So both cpu loops in init() and exit() are not longer required. Cc: Jean Delvare <jdelvare@suse.com> Cc: Guenter Roeck <linux@roeck-us.net> Cc: linux-hwmon@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions