summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-huion.c
diff options
context:
space:
mode:
authorAntonio Ospite <ao2@ao2.it>2015-02-16 18:12:22 +0100
committerJiri Kosina <jkosina@suse.cz>2015-02-18 21:36:12 +0100
commita85d67b545e9c1e178ecdb159cfa59a45405c22a (patch)
tree667083aca540ef42635d093cc0258aab76ddede2 /drivers/hid/hid-huion.c
parentHID: sony: Use the minimum accepted size for feature report 0xf2 (diff)
downloadlinux-a85d67b545e9c1e178ecdb159cfa59a45405c22a.tar.xz
linux-a85d67b545e9c1e178ecdb159cfa59a45405c22a.zip
HID: sony: Don't use magic numbers in sixaxis_set_operational_usb()
Remove the magic numbers used in sixaxis_set_operational_usb(): - use the already defined SIXAXIS_REPORT_0xF2_SIZE; - define and use SIXAXIS_REPORT_0xF5_SIZE; - set the dummy buffer size to accommodate any report that is going to be requested. Signed-off-by: Antonio Ospite <ao2@ao2.it> Acked-by: Frank Praznik <frank.praznik@oh.rr.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-huion.c')
0 files changed, 0 insertions, 0 deletions