diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/hid.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index 60f3ff762376..5eb282e0dff7 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h | |||
| @@ -992,11 +992,8 @@ static inline int hid_hw_raw_request(struct hid_device *hdev, | |||
| 992 | if (len < 1 || len > HID_MAX_BUFFER_SIZE || !buf) | 992 | if (len < 1 || len > HID_MAX_BUFFER_SIZE || !buf) |
| 993 | return -EINVAL; | 993 | return -EINVAL; |
| 994 | 994 | ||
| 995 | if (hdev->ll_driver->raw_request) | 995 | return hdev->ll_driver->raw_request(hdev, reportnum, buf, len, |
| 996 | return hdev->ll_driver->raw_request(hdev, reportnum, buf, len, | ||
| 997 | rtype, reqtype); | 996 | rtype, reqtype); |
| 998 | |||
| 999 | return -ENOSYS; | ||
| 1000 | } | 997 | } |
| 1001 | 998 | ||
| 1002 | /** | 999 | /** |
