diff options
author | 2023-05-23 14:04:31 -0700 | |
---|---|---|
committer | 2023-05-26 20:45:39 +0200 | |
commit | 207733f9266194b3cd90ddae723a1f82eb64030b (patch) | |
tree | 1516d1499bba34230f17c7c9eca7953c5f81ea8e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'for-linus-2023042601' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (diff) | |
download | wireguard-linux-207733f9266194b3cd90ddae723a1f82eb64030b.tar.xz wireguard-linux-207733f9266194b3cd90ddae723a1f82eb64030b.zip |
HID: split apart hid_device_probe to make logic more apparent
hid_device_probe() has a complex flow and locks and unlocks a mutex.
Move the most of the logic into __hid_device_probe() and
hid_check_device_match() and leave the locking in hid_device_probe()
which makes the code more clear.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions