hwmon: (coretemp) Convert to hotplug state machine
authorThomas Gleixner <tglx@linutronix.de>
Tue, 22 Nov 2016 17:42:04 +0000 (17:42 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 10 Dec 2016 05:54:10 +0000 (21:54 -0800)
commite00ca5df37adc68052ea699cbd010ee4e19e39e4
tree3d2a3600c369dcd1e5d4002d72d991b2139f41d0
parent4b138cf73f4548d256f26006a756bc0fe3ad786e
hwmon: (coretemp) Convert to hotplug state machine

Install the callbacks via the state machine. Setup and teardown are handled
by the hotplug core.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: linux-hwmon@vger.kernel.org
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Jean Delvare <jdelvare@suse.com>
Cc: rt@linuxtronix.de
Cc: Guenter Roeck <linux@roeck-us.net>
Link: http://lkml.kernel.org/r/20161117183541.8588-5-bigeasy@linutronix.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/coretemp.c