diff options
author | 2024-08-03 14:34:20 +0200 | |
---|---|---|
committer | 2024-08-27 16:18:51 +0200 | |
commit | 80cfb508f3fe4c7c6a567fc4aa863c9a38709cd5 (patch) | |
tree | ecd055cb977d58734a02374230052abf4e39ba39 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | HID: constify hid_device::rdesc (diff) | |
download | wireguard-linux-80cfb508f3fe4c7c6a567fc4aa863c9a38709cd5.tar.xz wireguard-linux-80cfb508f3fe4c7c6a567fc4aa863c9a38709cd5.zip |
HID: constify params and return value of fetch_item()
fetch_item() does not modify the descriptor it operates on.
As a prerequisite for the constification of hid_driver::dev_rdesc,
mark the parameters and return value of fetch_item() as const.
Also adapt the variable types in the callers to match this
constification.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://patch.msgid.link/20240803-hid-const-fixup-v2-4-f53d7a7b29d8@weissschuh.net
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions