aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/gpio
diff options
context:
space:
mode:
authorSachin Pandhare <sachinpandhare@gmail.com>2015-10-06 14:24:55 -0400
committerJonathan Corbet <corbet@lwn.net>2015-10-11 17:39:01 -0400
commit0ea1563bc108408083f2ac6dc38d7b8992e5b819 (patch)
tree888ab2e1f7426b7c1b558fe1aab9040276b32dce /Documentation/gpio
parent0d8c39e6c6dd97fc7fc40e93b44d76bb6dc4d4e4 (diff)
Typo correction for description in gpio document.
Corrected Documentation/gpio/sysfs.txt for typos and wording. typos: syfs -> sysfs, manges -> manages wording: entry -> entries Signed-off-by: Sachin Pandhare <sachinpandhare@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/gpio')
-rw-r--r--Documentation/gpio/sysfs.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/gpio/sysfs.txt b/Documentation/gpio/sysfs.txt
index 0700b55637f5..aeab01aa4d00 100644
--- a/Documentation/gpio/sysfs.txt
+++ b/Documentation/gpio/sysfs.txt
@@ -20,14 +20,14 @@ userspace GPIO can be used to determine system configuration data that
20standard kernels won't know about. And for some tasks, simple userspace 20standard kernels won't know about. And for some tasks, simple userspace
21GPIO drivers could be all that the system really needs. 21GPIO drivers could be all that the system really needs.
22 22
23DO NOT ABUSE SYFS TO CONTROL HARDWARE THAT HAS PROPER KERNEL DRIVERS. 23DO NOT ABUSE SYSFS TO CONTROL HARDWARE THAT HAS PROPER KERNEL DRIVERS.
24PLEASE READ THE DOCUMENT NAMED "drivers-on-gpio.txt" IN THIS DOCUMENTATION 24PLEASE READ THE DOCUMENT NAMED "drivers-on-gpio.txt" IN THIS DOCUMENTATION
25DIRECTORY TO AVOID REINVENTING KERNEL WHEELS IN USERSPACE. I MEAN IT. 25DIRECTORY TO AVOID REINVENTING KERNEL WHEELS IN USERSPACE. I MEAN IT.
26REALLY. 26REALLY.
27 27
28Paths in Sysfs 28Paths in Sysfs
29-------------- 29--------------
30There are three kinds of entry in /sys/class/gpio: 30There are three kinds of entries in /sys/class/gpio:
31 31
32 - Control interfaces used to get userspace control over GPIOs; 32 - Control interfaces used to get userspace control over GPIOs;
33 33
@@ -106,7 +106,7 @@ read-only attributes:
106 106
107 "label" ... provided for diagnostics (not always unique) 107 "label" ... provided for diagnostics (not always unique)
108 108
109 "ngpio" ... how many GPIOs this manges (N to N + ngpio - 1) 109 "ngpio" ... how many GPIOs this manages (N to N + ngpio - 1)
110 110
111Board documentation should in most cases cover what GPIOs are used for 111Board documentation should in most cases cover what GPIOs are used for
112what purposes. However, those numbers are not always stable; GPIOs on 112what purposes. However, those numbers are not always stable; GPIOs on