[PATCH] Generic HID layer - USB API
- 'dev' in struct hid_device changed from struct usb_device to struct device and fixed all the users - renamed functions which are part of USB HID API from 'hid_*' to 'usbhid_*' - force feedback initialization moved from common part into USB-specific driver - added usbhid.h header for USB HID API users - removed USB-specific fields from struct hid_device and moved them to new usbhid_device, which is pointed to by hid_device->driver_data - fixed all USB users to use this new structure Signed-off-by:Jiri Kosina <jkosina@suse.cz> Signed-off-by:
Marcel Holtmann <marcel@holtmann.org> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
Showing
- drivers/hid/hid-input.c 2 additions, 8 deletionsdrivers/hid/hid-input.c
- drivers/usb/input/hid-core.c 229 additions, 190 deletionsdrivers/usb/input/hid-core.c
- drivers/usb/input/hid-ff.c 2 additions, 2 deletionsdrivers/usb/input/hid-ff.c
- drivers/usb/input/hid-lgff.c 3 additions, 2 deletionsdrivers/usb/input/hid-lgff.c
- drivers/usb/input/hid-pidff.c 27 additions, 27 deletionsdrivers/usb/input/hid-pidff.c
- drivers/usb/input/hid-tmff.c 2 additions, 1 deletiondrivers/usb/input/hid-tmff.c
- drivers/usb/input/hid-zpff.c 3 additions, 2 deletionsdrivers/usb/input/hid-zpff.c
- drivers/usb/input/hiddev.c 17 additions, 14 deletionsdrivers/usb/input/hiddev.c
- drivers/usb/input/usbhid.h 84 additions, 0 deletionsdrivers/usb/input/usbhid.h
- include/linux/hid.h 1 addition, 35 deletionsinclude/linux/hid.h
Loading
Please register or sign in to comment