summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/adm1025.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2016-11-18 16:09:50 +0100
committerGuenter Roeck <linux@roeck-us.net>2016-12-09 21:54:27 -0800
commitdf60d7013c36f86f7653af387915019d7da49613 (patch)
tree45c3240903a0b419b79c797ea77e69ef8574ad36 /drivers/hwmon/adm1025.c
parent8017c0f2989f077a665bbf7881a1154ecd8334e7 (diff)
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 'drivers/hwmon/adm1025.c')
0 files changed, 0 insertions, 0 deletions