]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powercap/intel rapl: Convert to hotplug state machine
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 22 Nov 2016 21:16:00 +0000 (21:16 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 24 Nov 2016 20:58:32 +0000 (21:58 +0100)
commit5e4dc7915979a5a1ca9551659f0fdcd116a25b8f
tree41c95ebae52514ceb726b5ded40199741826b234
parenta74f43675790ae55b908940652b4b04b236d8f18
powercap/intel rapl: Convert to hotplug state machine

Install the callbacks via the state machine as a first step. The init/exit
code is a duplicate of the hotplug code. This is cleaned up in a
consecutive patch.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl.c