projects
/
project
/
bcm63xx
/
atf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dc9fe7
)
gpio: stm32_gpio: do not mix error code types
author
Nicolas Le Bayon
<nicolas.le.bayon@st.com>
Wed, 11 Sep 2019 13:58:31 +0000
(15:58 +0200)
committer
Yann Gautier
<yann.gautier@st.com>
Thu, 3 Oct 2019 09:17:48 +0000
(11:17 +0200)
Change-Id: I84f8a99be2dcdf7c51fbecdb324df8e2f32cc855
Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
Signed-off-by: Yann Gautier <yann.gautier@st.com>
drivers/st/gpio/stm32_gpio.c
patch
|
blob
|
history
diff --git
a/drivers/st/gpio/stm32_gpio.c
b/drivers/st/gpio/stm32_gpio.c
index 343ad6c1de831412d91bb75d868b130cf2e96b84..a13c341a81657bc3f3b1dae1b9cac1456ea60dc5 100644
(file)
--- a/
drivers/st/gpio/stm32_gpio.c
+++ b/
drivers/st/gpio/stm32_gpio.c
@@
-165,7
+165,7
@@
int dt_set_pinctrl_config(int node)
void *fdt;
if (fdt_get_address(&fdt) == 0) {
- return -
ENOENT
;
+ return -
FDT_ERR_NOTFOUND
;
}
if (status == DT_DISABLED) {