ABI: sysfs-driver-hid: the "What" field doesn't parse fine
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 14 Jun 2019 02:04:08 +0000 (23:04 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Jun 2019 16:17:11 +0000 (18:17 +0200)
The What: field on this ABI description use a different
syntax than expected, causing it to not be properly parsed
by script.

Fix it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-driver-hid

index 48942cacb0bf490ef7da785536702bff0d7b2a90..a59533410871be40877625debd238594bdf143ff 100644 (file)
@@ -1,6 +1,6 @@
-What:          For USB devices : /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/report_descriptor
-               For BT devices  : /sys/class/bluetooth/hci<addr>/<hid-bus>:<vendor-id>:<product-id>.<num>/report_descriptor
-               Symlink         : /sys/class/hidraw/hidraw<num>/device/report_descriptor
+What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/report_descriptor
+What:          /sys/class/bluetooth/hci<addr>/<hid-bus>:<vendor-id>:<product-id>.<num>/report_descriptor
+What:          /sys/class/hidraw/hidraw<num>/device/report_descriptor
 Date:          Jan 2011
 KernelVersion: 2.0.39
 Contact:       Alan Ott <alan@signal11.us>
@@ -9,9 +9,9 @@ Description:    When read, this file returns the device's raw binary HID
                This file cannot be written.
 Users:         HIDAPI library (http://www.signal11.us/oss/hidapi)
 
-What:          For USB devices : /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/country
-               For BT devices  : /sys/class/bluetooth/hci<addr>/<hid-bus>:<vendor-id>:<product-id>.<num>/country
-               Symlink         : /sys/class/hidraw/hidraw<num>/device/country
+What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/country
+What:          /sys/class/bluetooth/hci<addr>/<hid-bus>:<vendor-id>:<product-id>.<num>/country
+What:          /sys/class/hidraw/hidraw<num>/device/country
 Date:          February 2015
 KernelVersion: 3.19
 Contact:       Olivier Gay <ogay@logitech.com>