thermal: intel: int340x: processor: Remove MMIO RAPL CPU hotplug support
authorZhang Rui <rui.zhang@intel.com>
Mon, 30 Sep 2024 08:18:00 +0000 (16:18 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 8 Oct 2024 19:39:33 +0000 (21:39 +0200)
commitbfc6819e4bf56a55df6178f93241b5845ad672eb
tree11ac12bbe2071cdaeaddbcff9a84c8c5efc85a1a
parentf517ff174ab79dd59f538a9aa2770cd3ee6dd48b
thermal: intel: int340x: processor: Remove MMIO RAPL CPU hotplug support

CPU0/package0 is always online and the MMIO RAPL driver runs on single
package systems only, so there is no need to handle CPU hotplug in it.

Always register a RAPL package device for package 0 and remove the
unnecessary CPU hotplug support.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://patch.msgid.link/20240930081801.28502-6-rui.zhang@intel.com
[ rjw: Subject edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/intel/int340x_thermal/processor_thermal_rapl.c