summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2024-12-06 22:56:50 +0100
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2024-12-17 13:13:10 +0200
commit0c91d916af898e481444d17eed8ce8df6c50f70d (patch)
tree6be4a1e55c565e1393aa1a29650d55d3b22fac18 /tools/perf/scripts/python
parent204d45fe680be98be356acb7c603622606356be7 (diff)
platform/x86: wmi-bmof: Make use of .bin_size() callback
Until now the wmi-bmof driver had to allocate the binary sysfs attribute dynamically since its size depends on the bmof buffer returned by the firmware. Use the new .bin_size() callback to avoid having to do this memory allocation. Tested on a Asus Prime B650-Plus. Signed-off-by: Armin Wolf <W_Armin@gmx.de> Link: https://lore.kernel.org/r/20241206215650.2977-1-W_Armin@gmx.de 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