Hi Trilok, Thanks for your time in helping review the patch. :) Trilok Soni stated on 4/5/2007 5:20 AM: > Few comments: > > + * statics > */ > > Changelog goes in the SCM metadata, not source files. Please avoid this. Is this a new convention? No offence intended, but I like my signature on the files I touch extensively.. since it is not denied by coding_standards.txt, kinda pulling on leeway here.. :) > > -static void omap_wdt_ping(void) > +static void omap_wdt_ping(struct omap_wdt_dev *wdev) > { > + void __iomem *base=wdev->base; > > > space between *base and wdev->base is required for readability. yup.. typie typie.... > + wdev = (struct omap_wdt_dev *) platform_get_drvdata(omap_wdt_dev); > > You don't need casting here, I think. cleaner.. since get_drvdata returns void *.. makes sense to explain what form i am casting to-helps novice readers of code.. readability.. > > + file->private_data = (void *) wdev; > + wdev = (struct omap_wdt_dev *) file->private_data; > > No need of casting. same reasoning..readability > > You should also set drvdata to NULL on wdt remove and error recovery > path in wdt_probe. > > + platform_set_drvdata(pdev, NULL); > good catch.. missed that one. I have attached a follow up patch fixing the above mentioned issues.. Regards, Nishanth Menon