From: Benjamin Tissoires Date: Mon, 25 Feb 2013 10:31:47 +0000 (+0100) Subject: HID: use hid_hw_wait() instead of direct call to usbhid X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~105^2~3^3~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7966a4d7be0a10329f03330390f4bdaf453d74a;p=pandora-kernel.git HID: use hid_hw_wait() instead of direct call to usbhid This removes most of the dependencies between hid drivers and usbhid. The patch was constructed by replacing all occurences of usbhid_wait_io() by its hid_hw_wait() counterpart. Then, drivers not requiring USB_HID anymore have their USB_HID dependency cleaned in the Kconfig file. As of today, few drivers are still requiring an explicit USB layer dependency: * ntrig (a patch is on its way) * multitouch (one patch following and another on its way) * lenovo tpkbd * roccat * sony The last three are two deeply using direct calls to the usb subsystem to be able to be cleaned right now. Signed-off-by: Benjamin Tissoires Reviewed-by: Mika Westerberg Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed