summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2016-11-23 00:16:02 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-11-24 23:58:32 +0300
commit58705069204cc8afa0d7b759e81b61147e973de9 (patch)
tree73518c297d6adbb72ef1a76ec573a0258fd3577a /block
parent5e4dc7915979a5a1ca9551659f0fdcd116a25b8f (diff)
downloadlinux-58705069204cc8afa0d7b759e81b61147e973de9.tar.xz
powercap/intel_rapl: Cleanup duplicated init code
The whole init/exit code is a duplicate of the cpuhotplug code. So we can just let the hotplug code do the actual work of setting up and tearing down the domains. This also restores the package hardware when a package is removed during hotplug instead of leaving it in the last configured state and only reset it when the driver is removed. 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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions