[lm-sensors] [PATCH 02/03] HWMON: HWMON driver for DA9052/53 PMIC v3

R, Durgadoss durgadoss.r at intel.com
Fri Mar 2 16:54:36 UTC 2012


Hi Guenter,

> -----Original Message-----
> From: Guenter Roeck [mailto:guenter.roeck at ericsson.com]
> Sent: Friday, March 02, 2012 10:21 PM
> To: R, Durgadoss
> Cc: Ashish Jangam; randy.dunlap at oracle.com; linaro-dev at lists.linaro.org;
> sameo at linux.intel.com; linux-kernel at vger.kernel.org; lm-sensors at lm-sensors.org;
> dchen at diasemi.com
> Subject: RE: [lm-sensors] [PATCH 02/03] HWMON: HWMON driver for DA9052/53 PMIC
> v3
> 
> Hi Durga,
> 
> On Fri, 2012-03-02 at 11:44 -0500, R, Durgadoss wrote:
> > Hi,
> >
 
[snip..]

> > > +     sysfs_remove_group(&pdev->dev.kobj, &da9052_attr_group);
> > > +err_mem:
> >
> > I think you should do a kfree(hwmon) here.
> >
> 
> Not needed because devm_kzalloc() is used above.

Ok. Nice to know. Thank you :-)

Thanks,
Durga



More information about the linaro-dev mailing list