Dan Carpenter 89e756e3cc HID: fix an error code in hid_check_device_match()
The hid_check_device_match() returns true if we find a match and false
if we don't.  But here it returns -ENODEV which becomes true instead
of false.

Fixes: 207733f92661 ("HID: split apart hid_device_probe to make logic more apparent")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2023-06-08 17:00:09 +02:00
..
2023-04-12 17:26:00 -07:00
2023-02-22 11:24:42 -08:00
2023-02-22 11:24:42 -08:00
2023-04-13 16:16:04 +02:00
2022-02-02 15:12:22 +01:00
2023-04-14 16:09:02 +02:00
2022-08-25 11:32:31 +02:00