diff options
author | Armin Wolf <W_Armin@gmx.de> | 2023-07-30 22:45:49 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-07-31 16:07:41 +0200 |
commit | 516b2754e82dca26fa13fdf7eb8dadef98dcd9c1 (patch) | |
tree | 1cbf2e3192d7f2cb2553717bf24a9f0d2d679845 /scripts/gdb/linux/interrupts.py | |
parent | f4ae2e96ae929f1618f6e5e55f754f712354d7eb (diff) |
platform/x86: wmi-bmof: Simplify read_bmof()
Replace offset handling code with a single call
to memory_read_from_buffer() to simplify read_bmof().
Tested on a ASUS PRIME B650-PLUS.
Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>
Tested-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20230730204550.3402-2-W_Armin@gmx.de
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions