From 28e3cedcceecb62ecbc77a35eda3875bbe981f1b Mon Sep 17 00:00:00 2001 From: Alex Elder Date: Wed, 27 May 2015 11:17:51 -0500 Subject: [PATCH] greybus: update sysfs documentation files Impose a few editorial conventions on the Greybus-related sysfs files under "Documentation". - Capitalize "Endo" (except in path names) - Capitalize "ID" (except in path names) - Use "..." to indicate unspecified path components (because ".." means something else). - Add the "0x" prior to the "XXXX" representing the Endo ID. Signed-off-by: Alex Elder Reviewed-by: Viresh Kumar Signed-off-by: Greg Kroah-Hartman --- .../greybus/Documentation/sysfs-bus-greybus | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/greybus/Documentation/sysfs-bus-greybus b/drivers/staging/greybus/Documentation/sysfs-bus-greybus index 6815b91a67d6..738dcffe35e9 100644 --- a/drivers/staging/greybus/Documentation/sysfs-bus-greybus +++ b/drivers/staging/greybus/Documentation/sysfs-bus-greybus @@ -1,4 +1,4 @@ -What: /sys/bus/greybus/device/endo-XXXX +What: /sys/bus/greybus/device/endo-0xXXXX Date: October 2015 KernelVersion: 4.XX Contact: Greg Kroah-Hartman @@ -7,7 +7,7 @@ Description: replaced with the numeric value of the endo layout scheme as documented in the ARA Module Developer Kit. -What: /sys/bus/greybus/device/endo-XXXX/Endo/id +What: /sys/bus/greybus/device/endo-0xXXXX/Endo/id Date: October 2015 KernelVersion: 4.XX Contact: Greg Kroah-Hartman @@ -16,7 +16,7 @@ Description: defined by the the Endo layout scheme, documented in the ARA Module Developer Kit. -What: /sys/bus/greybus/device/endo-XXXX/Endo/ap_intf_id +What: /sys/bus/greybus/device/endo-0xXXXX/Endo/ap_intf_id Date: October 2015 KernelVersion: 4.XX Contact: Greg Kroah-Hartman @@ -26,21 +26,21 @@ Description: The interface positions are defined in the ARA Module Developer Kit. -What: /sys/bus/greybus/device/endo-XXXX/SVC/serial_number +What: /sys/bus/greybus/device/endo-0xXXXX/SVC/serial_number Date: October 2015 KernelVersion: 4.XX Contact: Greg Kroah-Hartman Description: The serial number of the SVC device -What: /sys/bus/greybus/device/endo-XXXX/SVC/version +What: /sys/bus/greybus/device/endo-0xXXXX/SVC/version Date: October 2015 KernelVersion: 4.XX Contact: Greg Kroah-Hartman Description: The version number of the firmware in the SVC device. -What: /sys/bus/greybus/device/endo-XXXX/../epm +What: /sys/bus/greybus/device/endo-0xXXXX/.../epm Date: October 2015 KernelVersion: 4.XX Contact: Greg Kroah-Hartman @@ -50,7 +50,7 @@ Description: Writing 1 to it turns it on, writing 0 to it turns it off. Reading the value returns if it is on or off. -What: /sys/bus/greybus/device/endo-XXXX/../power_control +What: /sys/bus/greybus/device/endo-0xXXXX/.../power_control Date: October 2015 KernelVersion: 4.XX Contact: Greg Kroah-Hartman @@ -60,7 +60,7 @@ Description: to the module, writing 0 to it turns power off to the module. Reading the value returns if it is on or off. -What: /sys/bus/greybus/device/endo-XXXX/../present +What: /sys/bus/greybus/device/endo-0xXXXX/.../present Date: October 2015 KernelVersion: 4.XX Contact: Greg Kroah-Hartman @@ -124,14 +124,14 @@ Date: October 2015 KernelVersion: 4.XX Contact: Greg Kroah-Hartman Description: - The protocol id of a Greybus connection. + The protocol ID of a Greybus connection. What: /sys/bus/greybus/device/.../device_id Date: October 2015 KernelVersion: 4.XX Contact: Greg Kroah-Hartman Description: - The device id of a Greybus bundle. + The device ID of a Greybus bundle. What: /sys/bus/greybus/device/.../state Date: October 2015 -- 2.20.1