diff options
author | 2022-01-17 23:26:26 -0800 | |
---|---|---|
committer | 2022-02-14 10:52:29 +0100 | |
commit | 86fc3fd28157b6d4d044bdc00b3ee72899e554fc (patch) | |
tree | 10d06018e08487e8d4322bc688e41606cefa8210 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | HID: i2c-hid: rework i2c_hid_get_report() to use i2c_hid_xfer() (diff) | |
download | wireguard-linux-86fc3fd28157b6d4d044bdc00b3ee72899e554fc.tar.xz wireguard-linux-86fc3fd28157b6d4d044bdc00b3ee72899e554fc.zip |
HID: i2c-hid: use helpers to do endian conversion in i2c_hid_get_input()
It is better to use helpers to do endian conversion as it documents
and draws attention to it, and might be a bit more performant as
well.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Tested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions