> >         if (i2c_pca_add_numbered_bus(&i2c->adap) < 0) {
> > -               ret = -ENODEV;
> > -               goto e_adapt;
> > +               return -ENODEV;
> 
> This is still shadows the actual error code.

Nice catch. But since it fixes a seperate issue, I'd prefer an
incremental change here.

Attachment: signature.asc
Description: PGP signature

Reply via email to