From: David Herrmann Date: Tue, 29 Jul 2014 15:14:16 +0000 (+0200) Subject: HID: uhid: forward create_req to create2_req X-Git-Tag: fixes-for-v3.18-merge-window~27^2^7~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56c47754631b98624e844305709d6a296bde20d1;p=pandora-kernel.git HID: uhid: forward create_req to create2_req Instead of hard-coding the uhid_dev_create() function twice, copy any create_req into a create2_req structure and forward it. We allocate uhid_create_req on the stack here, but that should be fine. Unlike uhid_create2_req it is fairly small (<1KB) and it's only used temporarily to swap entries. uhid_dev_create2() doesn't access it. Signed-off-by: David Herrmann Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed