projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
486707b
)
gpio: Use unsigned int for of_gpio_n_cells
author
Thierry Reding
<treding@nvidia.com>
Mon, 24 Jul 2017 14:57:28 +0000
(16:57 +0200)
committer
Linus Walleij
<linus.walleij@linaro.org>
Mon, 14 Aug 2017 13:01:13 +0000
(15:01 +0200)
The cell count for GPIO specifiers can never be negative, so make the
field unsigned.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/gpio/driver.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/gpio/driver.h
b/include/linux/gpio/driver.h
index fe66c9306caf0b6cf91d04a3ff6c1428a77e4e87..c97f8325e8bf5c2f4d309b1e8e82b69d62e68bfc 100644
(file)
--- a/
include/linux/gpio/driver.h
+++ b/
include/linux/gpio/driver.h
@@
-193,7
+193,7
@@
struct gpio_chip {
*
* Number of cells used to form the GPIO specifier.
*/
- int of_gpio_n_cells;
+
unsigned
int of_gpio_n_cells;
/**
* @of_xlate: