HID: playstation: track devices in list.
authorRoderick Colenbrander <roderick.colenbrander@sony.com>
Sun, 7 Feb 2021 21:49:01 +0000 (13:49 -0800)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 11 Feb 2021 15:57:18 +0000 (16:57 +0100)
commit53f04e83577c5e146eeee1a671efeb58db14afd1
tree7f4e0df417287e425a5f9c457f6edaa4f5273cd0
parent402987c5d98a9dd0d611cfe3af5e5bdc13d122d0
HID: playstation: track devices in list.

Track devices in a list, so we can detect when a device is connected
twice when using Bluetooth and USB.

Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
Reviewed-by: Barnabás Pőcze <pobrn@protonmail.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/hid-playstation.c