summaryrefslogtreecommitdiff
path: root/drivers/edac/x38_edac.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2016-11-22 21:16:02 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-11-24 21:58:32 +0100
commit58705069204cc8afa0d7b759e81b61147e973de9 (patch)
tree73518c297d6adbb72ef1a76ec573a0258fd3577a /drivers/edac/x38_edac.c
parent5e4dc7915979a5a1ca9551659f0fdcd116a25b8f (diff)
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 'drivers/edac/x38_edac.c')
0 files changed, 0 insertions, 0 deletions