lkml.org 
[lkml]   [2014]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 00/14] HID: low-level transport cleanup, round 2
Date
Hi guys,

this is the second part of the low-level HID transport cleanup.
The series goes on top of the previous one I sent last week.

Some highlights:
- remove hid_output_raw_report from struct hid_device
- uniformization of all transport driver by having only 2 mandatory
communication functions to implement: .raw_request and .output_report

Cheers,
Benjamin

Benjamin Tissoires (14):
HID: uHID: remove duplicated code
HID: uHID: implement .raw_request
HID: core: implement generic .request()
HID: i2c-hid: implement ll_driver transport-layer callbacks
HID: i2c-hid: use generic .request() implementation
HID: usbhid: change return error of usbhid_output_report
HID: input: hid-input remove hid_output_raw_report call
HID: logitech-dj: remove hid_output_raw_report call
HID: replace hid_output_raw_report with hid_hw_raw_request for feature
requests
HID: wiimote: replace hid_output_raw_report with hid_hw_output_report
for output requests
HID: sony: remove hid_output_raw_report calls
HID: hidraw: replace hid_output_raw_report() calls by appropriates
ones
HID: remove hid_output_raw_report
HID: core: check parameters when sending/receiving data from the
device

drivers/hid/hid-core.c | 45 +++++++++++++++++++++++-
drivers/hid/hid-input.c | 10 ++++--
drivers/hid/hid-lg.c | 8 ++---
drivers/hid/hid-logitech-dj.c | 21 ++++-------
drivers/hid/hid-magicmouse.c | 4 +--
drivers/hid/hid-sony.c | 79 +++++++++++++++++++++++++++++-------------
drivers/hid/hid-thingm.c | 4 +--
drivers/hid/hid-wacom.c | 26 ++++++++------
drivers/hid/hid-wiimote-core.c | 4 +--
drivers/hid/hidraw.c | 22 +++++++++---
drivers/hid/i2c-hid/i2c-hid.c | 70 ++++++++++++++++++++-----------------
drivers/hid/uhid.c | 37 +++++++++-----------
drivers/hid/usbhid/hid-core.c | 14 +-------
include/linux/hid.h | 30 ++++++----------
net/bluetooth/hidp/core.c | 14 --------
15 files changed, 218 insertions(+), 170 deletions(-)

--
1.8.3.1



\
 
 \ /
  Last update: 2014-02-14 10:41    [W:0.309 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site