diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-08-08 15:04:49 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-08-10 23:14:04 +0200 |
commit | c2944a9a09a21b917fa86858f078e77115ca9d22 (patch) | |
tree | 08e466514ba20f6d4c24228b83f3ffdf5f7b5c50 /drivers/pcmcia/sa1111_generic.h | |
parent | 504c76979bccec66e4c2e41f6a006e49e284466f (diff) | |
download | talos-obmc-linux-c2944a9a09a21b917fa86858f078e77115ca9d22.tar.gz talos-obmc-linux-c2944a9a09a21b917fa86858f078e77115ca9d22.zip |
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/pcmcia/sa1111_generic.h')
0 files changed, 0 insertions, 0 deletions