diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2019-02-13 13:29:19 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2019-02-13 13:29:19 +1100 |
commit | ebe4e0960d0cc54313dac7de02ac8e35d5c43270 (patch) | |
tree | e06d829215ab0a2ffbb37a27198f550173ca1189 /drivers/gpio | |
parent | 309e234ab7e05ab4530f4175494bce6fa064eac5 (diff) | |
parent | e9ad7649caa5957ccf45b6556f75689eae4532ee (diff) |
Merge remote-tracking branch 'spi/for-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) { /* |