gpio: Fix error checking in the function device_pca957x_init
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · Nicholas Krause
This fixes error checking in the function
device_pca957x_initto properly check and return error code values from the calls to the functionpca953x_write_regsif 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 <[email protected]>Reviewed-by Alexandre Courbot <[email protected]>
Already merged.
Yours,
Linus Walleij