mirror of https://gitee.com/openkylin/linux.git
gpio: samsung: Update documentation
hardware.h inclusion is no longer needed. Update the documentation section related to it and fix a file path. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
527d164a73
commit
7a255005ee
|
@ -85,21 +85,10 @@ between the calls.
|
||||||
Headers
|
Headers
|
||||||
-------
|
-------
|
||||||
|
|
||||||
See arch/arm/mach-s3c2410/include/mach/regs-gpio.h for the list
|
See arch/arm/mach-s3c24xx/include/mach/regs-gpio.h for the list
|
||||||
of GPIO pins, and the configuration values for them. This
|
of GPIO pins, and the configuration values for them. This
|
||||||
is included by using #include <mach/regs-gpio.h>
|
is included by using #include <mach/regs-gpio.h>
|
||||||
|
|
||||||
The GPIO management functions are defined in the hardware
|
|
||||||
header arch/arm/mach-s3c2410/include/mach/hardware.h which can be
|
|
||||||
included by #include <mach/hardware.h>
|
|
||||||
|
|
||||||
A useful amount of documentation can be found in the hardware
|
|
||||||
header on how the GPIO functions (and others) work.
|
|
||||||
|
|
||||||
Whilst a number of these functions do make some checks on what
|
|
||||||
is passed to them, for speed of use, they may not always ensure
|
|
||||||
that the user supplied data to them is correct.
|
|
||||||
|
|
||||||
|
|
||||||
PIN Numbers
|
PIN Numbers
|
||||||
-----------
|
-----------
|
||||||
|
|
Loading…
Reference in New Issue