Hi Guenter, > -----Original Message----- > From: Guenter Roeck [mailto:guenter.roeck@xxxxxxxxxxxx] > Sent: Friday, March 02, 2012 10:21 PM > To: R, Durgadoss > Cc: Ashish Jangam; randy.dunlap@xxxxxxxxxx; linaro-dev@xxxxxxxxxxxxxxxx; > sameo@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; lm-sensors@xxxxxxxxxxxxxx; > dchen@xxxxxxxxxxx > Subject: RE: [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 _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors