diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2011-10-14 15:32:00 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-10-29 12:26:29 +0200 |
commit | 7ea2aa2046a15af1c048115e7c05f1ba1566899d (patch) | |
tree | ecc9f603d4d22132019fbad9ef249aab18530d45 /tools | |
parent | f0eb824beee3f596b9799e667a6fdac3116e9f7d (diff) | |
download | lwn-7ea2aa2046a15af1c048115e7c05f1ba1566899d.tar.gz lwn-7ea2aa2046a15af1c048115e7c05f1ba1566899d.zip |
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: Wolfram Sang <w.sang@pengutronix.de>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions