commit | 7ea2aa2046a15af1c048115e7c05f1ba1566899d | [log] [tgz] |
---|---|---|
author | Wolfram Sang <w.sang@pengutronix.de> | Fri Oct 14 15:32:00 2011 +0200 |
committer | Grant Likely <grant.likely@secretlab.ca> | Sat Oct 29 12:26:29 2011 +0200 |
tree | ecc9f603d4d22132019fbad9ef249aab18530d45 | |
parent | f0eb824beee3f596b9799e667a6fdac3116e9f7d [diff] |
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>