]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86/intel-uncore-freq: Use generic helpers for current frequency
authorTero Kristo <tero.kristo@linux.intel.com>
Mon, 17 Jun 2024 06:04:40 +0000 (09:04 +0300)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 18 Jun 2024 09:46:17 +0000 (12:46 +0300)
commit7b3ffe0d815d15310545f77d444ada92c5d26903
treec39409257bfa087503bbaa76b9ccdbf69911c966
parentb2cc9f908af19dd851dd4642325daf0e86614885
platform/x86/intel-uncore-freq: Use generic helpers for current frequency

Use the generic sysfs helpers for reading the current frequency also,
and remove the custom ones.

No functional change intended.

Signed-off-by: Tero Kristo <tero.kristo@linux.intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://lore.kernel.org/r/20240617060708.892981-8-tero.kristo@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/intel/uncore-frequency/uncore-frequency-common.c