On Mon, Jun 26, 2017 at 12:44:33PM +1200, Chris Packham wrote: > Switch to using the devm_ APIs and remove the now unnecessary error > handling and most of the device removal code. > > Signed-off-by: Chris Packham <[email protected]>
And "reverted" the previous fix here:
- if (IS_ERR(i2c->gpio)) {
- ret = PTR_ERR(i2c->gpio);
- goto e_reqirq;
- }
+ if (IS_ERR(i2c->gpio))
+ return PTR_ERR(i2c->gpio);
Applied to for-next, thanks!
signature.asc
Description: PGP signature

