commit | c2944a9a09a21b917fa86858f078e77115ca9d22 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Aug 08 15:04:49 2018 +0300 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri Aug 10 23:14:04 2018 +0200 |
tree | 08e466514ba20f6d4c24228b83f3ffdf5f7b5c50 | |
parent | 504c76979bccec66e4c2e41f6a006e49e284466f [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>