[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D68720C2E767A4AA6A8796D42C8EB59046B13@BGSMSX101.gar.corp.intel.com>
Date: Fri, 2 Mar 2012 16:54:36 +0000
From: "R, Durgadoss" <durgadoss.r@...el.com>
To: "guenter.roeck@...csson.com" <guenter.roeck@...csson.com>
CC: Ashish Jangam <ashish.jangam@...tcummins.com>,
"randy.dunlap@...cle.com" <randy.dunlap@...cle.com>,
"linaro-dev@...ts.linaro.org" <linaro-dev@...ts.linaro.org>,
"sameo@...ux.intel.com" <sameo@...ux.intel.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"lm-sensors@...sensors.org" <lm-sensors@...sensors.org>,
"dchen@...semi.com" <dchen@...semi.com>
Subject: RE: [lm-sensors] [PATCH 02/03] HWMON: HWMON driver for DA9052/53
PMIC v3
Hi Guenter,
> -----Original Message-----
> From: Guenter Roeck [mailto:guenter.roeck@...csson.com]
> Sent: Friday, March 02, 2012 10:21 PM
> To: R, Durgadoss
> Cc: Ashish Jangam; randy.dunlap@...cle.com; linaro-dev@...ts.linaro.org;
> sameo@...ux.intel.com; linux-kernel@...r.kernel.org; lm-sensors@...sensors.org;
> dchen@...semi.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
Powered by blists - more mailing lists