]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
thermal: intel: Use sysfs_emit() for powerclamp cpumask
authorYury Norov <ynorov@nvidia.com>
Thu, 28 May 2026 18:36:22 +0000 (14:36 -0400)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 1 Jun 2026 17:58:47 +0000 (19:58 +0200)
commit7244cbbdb8b55879a3bf41c0f1a7339d22b3032a
treee6848c95b5352227bff084bcef73d3596fe9e381
parent8aa807a89dccdff4bcfc0cfc459b1ba714badbb6
thermal: intel: Use sysfs_emit() for powerclamp cpumask

cpumask_get() is used as a sysfs getter for the cpumask module
parameter. Use sysfs_emit() and cpumask_pr_args() to emit the mask.

This prepares for removing cpumap_print_to_pagebuf().

Signed-off-by: Yury Norov <ynorov@nvidia.com>
Link: https://patch.msgid.link/20260528183625.870813-16-ynorov@nvidia.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/intel/intel_powerclamp.c