HID: sony: Cache the output report for the Dualshock 4
authorFrank Praznik <frank.praznik@oh.rr.com>
Fri, 17 Jan 2014 19:46:26 +0000 (14:46 -0500)
committerJiri Kosina <jkosina@suse.cz>
Mon, 20 Jan 2014 12:01:31 +0000 (13:01 +0100)
commitc4e1ddf2680b357868deb3c7f5618d3d8ea500e2
tree8474e0ef6d306d96f0ccd42f65461714fe450f11
parented19d8cf28b2b03ec05e75de9c1f73981b342978
HID: sony: Cache the output report for the Dualshock 4

Retrieve and cache the output report for the Dualshock 4 in sony_probe()
instead of repeatedly walking the report list in the worker function.

Signed-off-by: Frank Praznik <frank.praznik@oh.rr.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c