summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-arizona.c
diff options
context:
space:
mode:
authorNicholas Krause <xerofoify@gmail.com>2015-08-26 17:52:19 -0400
committerLinus Walleij <linus.walleij@linaro.org>2015-10-02 04:19:34 -0700
commitc75a37720480819291ebca0db7fab4e87c46f73d (patch)
treed4a838e165bc4cd3e596f66f329387af8fcdb6c8 /drivers/gpio/gpio-arizona.c
parent49a5bd880cb63fba9f4589a89d68b8a255062a5f (diff)
gpio: Fix error checking in the function device_pca957x_init
This fixes error checking in the function device_pca957x_init to properly check and return error code values from the calls to the function pca953x_write_regs if they fail as to properly signal callers when a error occurs due a failure when writing registers for this gpio based device. Signed-off-by: Nicholas Krause <xerofoify@gmail.com> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-arizona.c')
0 files changed, 0 insertions, 0 deletions