diff options
author | Alex Elder | 2015-05-27 18:17:52 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-05-28 23:45:56 +0200 |
commit | 312bb84942cb6707cf9b3933a6c74cbe5e9ed037 (patch) | |
tree | e7d791aeab33c7db03fab4cf5c87e58f75ec1db1 /drivers/staging/greybus/Documentation | |
parent | greybus: update sysfs documentation files (diff) | |
download | kernel-qcow2-linux-312bb84942cb6707cf9b3933a6c74cbe5e9ed037.tar.gz kernel-qcow2-linux-312bb84942cb6707cf9b3933a6c74cbe5e9ed037.tar.xz kernel-qcow2-linux-312bb84942cb6707cf9b3933a6c74cbe5e9ed037.zip |
greybus: endo: drop redundant prefixes from sysfs basenames
This commit:
7e761e2 endo: rework some attributes
added a new "endo_id" attribute, located under a new "Endo"
directory in sysfs. The resulting path looks like:
Documentation/sysfs/endo-TYPE/Endo/endo_id
There's no need to have a separate "Endo" subdirectory to contain
Endo-specific attributes.
That commit also added "svc_" to some other paths related to the
SVC, like:
Documentation/sysfs/endo-TYPE/SVC/svc_version
The additional "svc_" is redundant.
This patch retouches those paths a bit, mainly to remove some
redundancy. It also makes the pathname components all lower case.
As a result, the above two paths now look like:
Documentation/sysfs/endo-TYPE/id
Documentation/sysfs/endo-TYPE/svc/version
All other Endo sysfs files are updated similarly.
Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/Documentation')
-rw-r--r-- | drivers/staging/greybus/Documentation/sysfs-bus-greybus | 8 | ||||
-rw-r--r-- | drivers/staging/greybus/Documentation/sysfs/endo-TYPE/ap_intf_id (renamed from drivers/staging/greybus/Documentation/sysfs/endo-TYPE/Endo/ap_intf_id) | 0 | ||||
-rw-r--r-- | drivers/staging/greybus/Documentation/sysfs/endo-TYPE/id (renamed from drivers/staging/greybus/Documentation/sysfs/endo-TYPE/Endo/endo_id) | 0 | ||||
-rw-r--r-- | drivers/staging/greybus/Documentation/sysfs/endo-TYPE/svc/firmware (renamed from drivers/staging/greybus/Documentation/sysfs/endo-TYPE/SVC/firmware) | 0 | ||||
-rw-r--r-- | drivers/staging/greybus/Documentation/sysfs/endo-TYPE/svc/serial_number (renamed from drivers/staging/greybus/Documentation/sysfs/endo-TYPE/SVC/serial_number) | 0 | ||||
-rw-r--r-- | drivers/staging/greybus/Documentation/sysfs/endo-TYPE/svc/version (renamed from drivers/staging/greybus/Documentation/sysfs/endo-TYPE/SVC/version) | 0 |
6 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/greybus/Documentation/sysfs-bus-greybus b/drivers/staging/greybus/Documentation/sysfs-bus-greybus index 738dcffe35e9..9cd3e02e5701 100644 --- a/drivers/staging/greybus/Documentation/sysfs-bus-greybus +++ b/drivers/staging/greybus/Documentation/sysfs-bus-greybus @@ -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-0xXXXX/Endo/id +What: /sys/bus/greybus/device/endo-0xXXXX/id Date: October 2015 KernelVersion: 4.XX Contact: Greg Kroah-Hartman <greg@kroah.com> @@ -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-0xXXXX/Endo/ap_intf_id +What: /sys/bus/greybus/device/endo-0xXXXX/ap_intf_id Date: October 2015 KernelVersion: 4.XX Contact: Greg Kroah-Hartman <greg@kroah.com> @@ -26,14 +26,14 @@ Description: The interface positions are defined in the ARA Module Developer Kit. -What: /sys/bus/greybus/device/endo-0xXXXX/SVC/serial_number +What: /sys/bus/greybus/device/endo-0xXXXX/svc/serial_number Date: October 2015 KernelVersion: 4.XX Contact: Greg Kroah-Hartman <greg@kroah.com> Description: The serial number of the SVC device -What: /sys/bus/greybus/device/endo-0xXXXX/SVC/version +What: /sys/bus/greybus/device/endo-0xXXXX/svc/version Date: October 2015 KernelVersion: 4.XX Contact: Greg Kroah-Hartman <greg@kroah.com> diff --git a/drivers/staging/greybus/Documentation/sysfs/endo-TYPE/Endo/ap_intf_id b/drivers/staging/greybus/Documentation/sysfs/endo-TYPE/ap_intf_id index e69de29bb2d1..e69de29bb2d1 100644 --- a/drivers/staging/greybus/Documentation/sysfs/endo-TYPE/Endo/ap_intf_id +++ b/drivers/staging/greybus/Documentation/sysfs/endo-TYPE/ap_intf_id diff --git a/drivers/staging/greybus/Documentation/sysfs/endo-TYPE/Endo/endo_id b/drivers/staging/greybus/Documentation/sysfs/endo-TYPE/id index e69de29bb2d1..e69de29bb2d1 100644 --- a/drivers/staging/greybus/Documentation/sysfs/endo-TYPE/Endo/endo_id +++ b/drivers/staging/greybus/Documentation/sysfs/endo-TYPE/id diff --git a/drivers/staging/greybus/Documentation/sysfs/endo-TYPE/SVC/firmware b/drivers/staging/greybus/Documentation/sysfs/endo-TYPE/svc/firmware index e69de29bb2d1..e69de29bb2d1 100644 --- a/drivers/staging/greybus/Documentation/sysfs/endo-TYPE/SVC/firmware +++ b/drivers/staging/greybus/Documentation/sysfs/endo-TYPE/svc/firmware diff --git a/drivers/staging/greybus/Documentation/sysfs/endo-TYPE/SVC/serial_number b/drivers/staging/greybus/Documentation/sysfs/endo-TYPE/svc/serial_number index e69de29bb2d1..e69de29bb2d1 100644 --- a/drivers/staging/greybus/Documentation/sysfs/endo-TYPE/SVC/serial_number +++ b/drivers/staging/greybus/Documentation/sysfs/endo-TYPE/svc/serial_number diff --git a/drivers/staging/greybus/Documentation/sysfs/endo-TYPE/SVC/version b/drivers/staging/greybus/Documentation/sysfs/endo-TYPE/svc/version index e69de29bb2d1..e69de29bb2d1 100644 --- a/drivers/staging/greybus/Documentation/sysfs/endo-TYPE/SVC/version +++ b/drivers/staging/greybus/Documentation/sysfs/endo-TYPE/svc/version |