aboutsummaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_hid.c
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-05-02 17:44:03 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-05-02 17:44:03 +0000
commit207332450ebe1df184818ab11115dcd7b95a5bc5 (patch)
tree9305b081ade7f0a755e9f99f1b7daf8e424962df /sys/dev/usb/usb_hid.c
parentb790c1938dd94d20de89e148169aab4ae3edd771 (diff)
downloadsrc-207332450ebe1df184818ab11115dcd7b95a5bc5.tar.gz
src-207332450ebe1df184818ab11115dcd7b95a5bc5.zip
dev/usb: minor spelling fixes in comments.
No functional change. Reviewed by: hselasky
Notes
Notes: svn path=/head/; revision=298932
Diffstat (limited to 'sys/dev/usb/usb_hid.c')
-rw-r--r--sys/dev/usb/usb_hid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_hid.c b/sys/dev/usb/usb_hid.c
index dc0ce99facc4..fe85f0c5560c 100644
--- a/sys/dev/usb/usb_hid.c
+++ b/sys/dev/usb/usb_hid.c
@@ -576,7 +576,7 @@ hid_report_size(const void *buf, usb_size_t len, enum hid_kind k, uint8_t *id)
for (d = hid_start_parse(buf, len, 1 << k); hid_get_item(d, &h);) {
if (h.kind == k) {
- /* check for ID-byte presense */
+ /* check for ID-byte presence */
if ((h.report_ID != 0) && !any_id) {
if (id != NULL)
*id = h.report_ID;