diff options
| author | Jiri Kosina <jkosina@suse.cz> | 2014-04-01 12:45:27 -0400 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2014-04-01 12:45:27 -0400 |
| commit | b95dd3ca034a044471242fcbc8b8256f272b5062 (patch) | |
| tree | 32a59028a1823e89214fce3149e80d65a0dda778 /net | |
| parent | 2078b9bb240ea31ff3ea715881d1ec03d83e6de4 (diff) | |
| parent | c3d77fab51f40821de91a744e4b514e9e4e76a7c (diff) | |
Merge branch 'for-3.15/hid-core-ll-transport-cleanup' into for-3.15/sony
Diffstat (limited to 'net')
| -rw-r--r-- | net/bluetooth/hidp/core.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c index 98e4840935e2..514ddb5aef96 100644 --- a/net/bluetooth/hidp/core.c +++ b/net/bluetooth/hidp/core.c | |||
| @@ -382,18 +382,6 @@ static int hidp_output_report(struct hid_device *hid, __u8 *data, size_t count) | |||
| 382 | data, count); | 382 | data, count); |
| 383 | } | 383 | } |
| 384 | 384 | ||
| 385 | static int hidp_output_raw_report(struct hid_device *hid, unsigned char *data, | ||
| 386 | size_t count, unsigned char report_type) | ||
| 387 | { | ||
| 388 | if (report_type == HID_OUTPUT_REPORT) { | ||
| 389 | return hidp_output_report(hid, data, count); | ||
| 390 | } else if (report_type != HID_FEATURE_REPORT) { | ||
| 391 | return -EINVAL; | ||
| 392 | } | ||
| 393 | |||
| 394 | return hidp_set_raw_report(hid, data[0], data, count, report_type); | ||
| 395 | } | ||
| 396 | |||
| 397 | static int hidp_raw_request(struct hid_device *hid, unsigned char reportnum, | 385 | static int hidp_raw_request(struct hid_device *hid, unsigned char reportnum, |
| 398 | __u8 *buf, size_t len, unsigned char rtype, | 386 | __u8 *buf, size_t len, unsigned char rtype, |
| 399 | int reqtype) | 387 | int reqtype) |
| @@ -776,8 +764,6 @@ static int hidp_setup_hid(struct hidp_session *session, | |||
| 776 | hid->dev.parent = &session->conn->hcon->dev; | 764 | hid->dev.parent = &session->conn->hcon->dev; |
| 777 | hid->ll_driver = &hidp_hid_driver; | 765 | hid->ll_driver = &hidp_hid_driver; |
| 778 | 766 | ||
| 779 | hid->hid_output_raw_report = hidp_output_raw_report; | ||
| 780 | |||
| 781 | /* True if device is blacklisted in drivers/hid/hid-core.c */ | 767 | /* True if device is blacklisted in drivers/hid/hid-core.c */ |
| 782 | if (hid_ignore(hid)) { | 768 | if (hid_ignore(hid)) { |
| 783 | hid_destroy_device(session->hid); | 769 | hid_destroy_device(session->hid); |
