summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDerek J. Clark <derekjohn.clark@gmail.com>2026-05-10 04:25:37 +0000
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-05-11 14:29:08 +0300
commit7e27896e16a1c450085c3fe020eeb1b223880f37 (patch)
treea3fb65c37653435bf91999a81df97add999175e8 /tools/perf/scripts/python
parente8d5460ad3fd22409f2566ecbe2c82d94aabc246 (diff)
downloadlinux-7e27896e16a1c450085c3fe020eeb1b223880f37.tar.gz
linux-7e27896e16a1c450085c3fe020eeb1b223880f37.zip
platform/x86: lenovo-wmi-helpers: Move gamezone enums to wmi-helpers
In a later patch in the series the thermal mode enum will be accessed across three separate drivers (wmi-capdata, wmi-gamezonem and wmi-other). An additional patch in the series will also add a function prototype that needs to reference this enum in wmi-helpers.h. To avoid having all these drivers begin to import each others headers, and to avoid declaring an opaque enum to hande the second case, move the thermal mode enum to helpers where it can be safely accessed by everything that needs it from a single import. While at it, since the gamezone_events_type enum is the only remaining item in the header, move that as well and remove the gamezone header entirely. Cc: stable@vger.kernel.org Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca> Reviewed-by: Rong Zhang <i@rong.moe> Tested-by: Rong Zhang <i@rong.moe> Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com> Link: https://patch.msgid.link/20260510042546.436874-8-derekjohn.clark@gmail.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions