Messages in this thread | | | Date | Tue, 27 Jun 2017 21:55:49 +0200 | From | Wolfram Sang <> | Subject | Re: [PATCH v3 4/5] i2c: pca-platform: use device managed allocations |
| |
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 <chris.packham@alliedtelesis.co.nz>
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!
[unhandled content-type:application/pgp-signature] | |