aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2013-11-19 14:26:29 -0500
committerJiri Kosina <jkosina@suse.cz>2013-11-20 03:59:17 -0500
commitf1c458caa11430d30b3beae72d8ec9dfdce9c3ac (patch)
treeac0ea8683536aa555bd745f9da29724c168f45c2 /drivers/hid
parent92b5c411ab3a3441ccbf2053bc4b00eca6cc8c96 (diff)
HID: sony: Use BIT(x) macro to define quirks constants
Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-sony.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c
index 28b847ad5458..067729290012 100644
--- a/drivers/hid/hid-sony.c
+++ b/drivers/hid/hid-sony.c
@@ -33,11 +33,11 @@
33 33
34#include "hid-ids.h" 34#include "hid-ids.h"
35 35
36#define VAIO_RDESC_CONSTANT (1 << 0) 36#define VAIO_RDESC_CONSTANT BIT(0)
37#define SIXAXIS_CONTROLLER_USB (1 << 1) 37#define SIXAXIS_CONTROLLER_USB BIT(1)
38#define SIXAXIS_CONTROLLER_BT (1 << 2) 38#define SIXAXIS_CONTROLLER_BT BIT(2)
39#define BUZZ_CONTROLLER (1 << 3) 39#define BUZZ_CONTROLLER BIT(3)
40#define PS3REMOTE (1 << 4) 40#define PS3REMOTE BIT(4)
41 41
42static const u8 sixaxis_rdesc_fixup[] = { 42static const u8 sixaxis_rdesc_fixup[] = {
43 0x95, 0x13, 0x09, 0x01, 0x81, 0x02, 0x95, 0x0C, 43 0x95, 0x13, 0x09, 0x01, 0x81, 0x02, 0x95, 0x0C,