Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sachin Pandhare and committed by
Jonathan Corbet
0ea1563b 0d8c39e6

+3 -3
+3 -3
Documentation/gpio/sysfs.txt
··· 20 20 standard kernels won't know about. And for some tasks, simple userspace 21 21 GPIO drivers could be all that the system really needs. 22 22 23 - DO NOT ABUSE SYFS TO CONTROL HARDWARE THAT HAS PROPER KERNEL DRIVERS. 23 + DO NOT ABUSE SYSFS TO CONTROL HARDWARE THAT HAS PROPER KERNEL DRIVERS. 24 24 PLEASE READ THE DOCUMENT NAMED "drivers-on-gpio.txt" IN THIS DOCUMENTATION 25 25 DIRECTORY TO AVOID REINVENTING KERNEL WHEELS IN USERSPACE. I MEAN IT. 26 26 REALLY. 27 27 28 28 Paths in Sysfs 29 29 -------------- 30 - There are three kinds of entry in /sys/class/gpio: 30 + There are three kinds of entries in /sys/class/gpio: 31 31 32 32 - Control interfaces used to get userspace control over GPIOs; 33 33 ··· 106 106 107 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 111 111 Board documentation should in most cases cover what GPIOs are used for 112 112 what purposes. However, those numbers are not always stable; GPIOs on