summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-08-08 15:04:49 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-08-10 23:14:04 +0200
commitc2944a9a09a21b917fa86858f078e77115ca9d22 (patch)
tree08e466514ba20f6d4c24228b83f3ffdf5f7b5c50 /drivers/gpio
parent504c76979bccec66e4c2e41f6a006e49e284466f (diff)
pinctrl: nomadik: silence uninitialized variable warning
This is harmless, but "val" isn't necessarily initialized if abx500_get_register_interruptible() fails. I've re-arranged the code to just return an error code in that situation. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions