• Jiri Kosina's avatar
    [PATCH] Generic HID layer - USB API · 4916b3a5
    Jiri Kosina authored
    - '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: default avatarJiri Kosina <jkosina@suse.cz>
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    4916b3a5
hid-core.c 47.4 KB