HID: hid-input: factorize hid_input allocation
authorBenjamin Tissoires <benjamin.tissoires@gmail.com>
Fri, 23 Nov 2012 15:31:24 +0000 (16:31 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 29 Nov 2012 13:59:40 +0000 (14:59 +0100)
commitae751fa82dd8e5a79932d6b55742e7e298afd733
treeb944ccf5d9c694fbb74c88249a429cd0b9bf261a
parent13f19624029f43f5d0f98a96a9e6ba4d38da96a9
HID: hid-input: factorize hid_input allocation

This just refactors the allocation of hid_input.
No semantic changes.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-input.c