diff options
author | Jiri Slaby <jslaby@suse.cz> | 2021-06-18 08:14:47 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-18 13:10:01 +0200 |
commit | b286484b3bb1d01dfd6095f01c8ad04b78f1a625 (patch) | |
tree | 30dc43baae6e7e530c9e95e4a6edbe8fccbd0643 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | edb7d27cd10382b6fdb3af50873a04f108c4ee64 (diff) |
mxser: introduce mxser_must_select_bank and use it
Again, selecting a bank in the EFR register is duplicated many times.
Extract it to a separate function (mxser_must_select_bank) and use it on
all the places.
This cleans up most of the helpers. And mxser_get_must_hardware_id now
returns the HW ID directly, not via a by-reference parameter.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210618061516.662-42-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions