HID: sony: Use the SIXAXIS_CONTROLLER constant when possible
authorAntonio Ospite <ao2@ao2.it>
Tue, 24 Jun 2014 11:28:40 +0000 (13:28 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 25 Jun 2014 19:21:17 +0000 (21:21 +0200)
commit50764650c9e6e8498d273ad714f68ee8eec96692
treefc831d52e4713077b4d4779ac4c5326c348f87eb
parentd6b92c2c373e0beefa8048c1448992cd5cda6e07
HID: sony: Use the SIXAXIS_CONTROLLER constant when possible

Instead of checking for SIXAXIS_CONTROLLER_USB and SIXAXIS_CONTROLLER_BT
separately, a check on SIXAXIS_CONTROLLER can be used when setting
connect_mask.

Signed-off-by: Antonio Ospite <ao2@ao2.it>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c