[PATCH 2/2] i2c: versatile: Convert to use resource managed devm_* APIs

Lorenzo Pieralisi lorenzo.pieralisi at arm.com
Fri Jul 8 06:44:17 PDT 2016


On Mon, Jul 04, 2016 at 02:56:13PM +0100, Pawel Moll wrote:
> Dnia 2016-06-25, Sat o godzinie 09:41 +0800, Axel Lin pisze:
> > 2016-04-14 22:31 GMT+08:00 Axel Lin <axel.lin at ingics.com>:
> > > Use devm_* APIs to simplify the code a bit.
> > > This patch also fixes the memory leak when unload the module.
> > > 
> > > Signed-off-by: Axel Lin <axel.lin at ingics.com>
> > > ---
> > > Hi,
> > > I don't have this h/w, I'd appreciate if someone can test this
> > > patch.
> > 
> > Obviously the module unload path has memory leak.
> > Just wondering if anyone can review/test this patch.
> 
> Gentlemen? (referring to the VE maintainers here)
> 
> Original thread: thread.gmane.org/gmane.linux.drivers.i2c/27277

We weren't CC'ed, thanks for the heads-up anyway we will have a
look and test shortly (@Axel next time please CC us if you want
us to test your patches, thanks).

Lorenzo



More information about the linux-arm-kernel mailing list