diff options
author | Mark Brown <broonie@kernel.org> | 2019-03-04 15:32:51 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-03-04 15:32:51 +0000 |
commit | 14dbfb417bd80c96ec700c7a8414bb6f5db7ecd2 (patch) | |
tree | f79fb71b6206ef40aa34c52649053a2aaa493a3c /drivers/gpio | |
parent | b50c6ac8b6fb3e7b5cf843afd789c8553a910254 (diff) | |
parent | 0e836c3bea7da04cd4e2ed22d8c20654d5a09273 (diff) |
Merge branch 'spi-5.1' into spi-next
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpiolib-of.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c index a6e1891217e2..c34eb9d9c59a 100644 --- a/drivers/gpio/gpiolib-of.c +++ b/drivers/gpio/gpiolib-of.c @@ -125,7 +125,7 @@ static void of_gpio_flags_quirks(struct device_node *np, for_each_child_of_node(np, child) { ret = of_property_read_u32(child, "reg", &cs); - if (!ret) + if (ret) continue; if (cs == index) { /* |