commit | 78e6c5abeb4ad895867fc0ff7f61c858d4deb7c0 | [log] [tgz] |
---|---|---|
author | Chris Packham <chris.packham@alliedtelesis.co.nz> | Fri Jun 30 12:54:05 2017 +1200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Tue Jul 04 16:03:42 2017 +0200 |
tree | 3821a55a9a7487d6d391842020d2a48b4848aea3 | |
parent | 2ec4d8831b9644a080302ce10868afff8d135fc3 [diff] |
i2c: pca-platform: propagate error from i2c_pca_add_numbered_bus Rather than returning -ENODEV if i2c_pca_add_numbered_bus() fails, propagate the error to aid debugging. Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>