Skip to content
Commit 7ea2aa20 authored by Wolfram Sang's avatar Wolfram Sang Committed by Grant Likely
Browse files

gpio: pca953x: propagate the errno from the chip_init functions



Initializing the chips may return with an error, but this error gets
dropped in probe(). Propagate this further to the driver core. Also,
simplify returning the error in one of the init functions.

Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent f0eb824b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment