diff options
author | Tzung-Bi Shih <tzungbi@kernel.org> | 2022-05-18 17:18:12 +0800 |
---|---|---|
committer | Tzung-Bi Shih <tzungbi@kernel.org> | 2022-06-06 03:11:37 +0000 |
commit | 23a34e3a9d00829f6bed67004a751d5b48f6084a (patch) | |
tree | 8145959b47571b6e9bb40e4991e724609a9b03cd /tools/perf/scripts/python/export-to-sqlite.py | |
parent | db681eaf7145158fb49eddbdb548692e8bfe7fab (diff) |
platform/chrome: cros_ec_proto: factor legacy out from cros_ec_prepare_tx()
cros_ec_prepare_tx() mixed the code for both versions. To be neat and to
make it clear, factor the legacy part out as a separate function, rename
the function, and update the comments.
Specifically,
- prepare_tx(), for current protocol version (i.e. 3).
- prepare_tx_legacy(), for protocol version <= 2.
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Link: https://lore.kernel.org/r/20220518091814.2028579-3-tzungbi@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions