From: Antonio Ospite Date: Mon, 16 Feb 2015 17:12:22 +0000 (+0100) Subject: HID: sony: Don't use magic numbers in sixaxis_set_operational_usb() X-Git-Tag: omap-for-v4.1/fixes-rc1~163^2~1^9~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a85d67b545e9c1e178ecdb159cfa59a45405c22a;p=pandora-kernel.git 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 Acked-by: Frank Praznik Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed