summaryrefslogtreecommitdiffstats
path: root/include/linux/mod_devicetable.h
diff options
context:
space:
mode:
authorSharon Dvir <sharon.dvir1@mail.huji.ac.il>2015-01-22 12:15:25 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-26 15:58:23 -0800
commit32357605ce7bcd36cb6215a21cad12cd8f51b74e (patch)
treea83780797f8f2f3a5f4c2844cd390102695babf7 /include/linux/mod_devicetable.h
parent1cee6b8d00427fd993c2e2b8acfd08410b053af3 (diff)
downloadlinux-32357605ce7bcd36cb6215a21cad12cd8f51b74e.tar.gz
linux-32357605ce7bcd36cb6215a21cad12cd8f51b74e.tar.xz
USB: Add missing word to comment in mod_devicetable.h
The documentation of match_flags in struct usb_device_id said: 'Bit mask controlling of the other fields are used to match against new devices.' Changed to: 'Bit mask controlling which of the other fields are used to match against new devices.' By adding the word 'which' and editing the next lines to not exceed 80 chars. Signed-off-by: Sharon Dvir <sharon.dvir1@mail.huji.ac.il> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/mod_devicetable.h')
-rw-r--r--include/linux/mod_devicetable.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 745def862580..470a240f66a1 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -53,9 +53,9 @@ struct ieee1394_device_id {
/**
* struct usb_device_id - identifies USB devices for probing and hotplugging
- * @match_flags: Bit mask controlling of the other fields are used to match
- * against new devices. Any field except for driver_info may be used,
- * although some only make sense in conjunction with other fields.
+ * @match_flags: Bit mask controlling which of the other fields are used to
+ * match against new devices. Any field except for driver_info may be
+ * used, although some only make sense in conjunction with other fields.
* This is usually set by a USB_DEVICE_*() macro, which sets all
* other fields in this structure except for driver_info.
* @idVendor: USB vendor ID for a device; numbers are assigned