On Wed, Feb 27, 2008 at 11:09:32PM -0800, Andrew Morton wrote: > On Tue, 26 Feb 2008 13:40:14 +0000 Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote: > > + * > > + * Adjust this value if you are having problems with pen detect not > > + * detecting any down events. > > + */ > > +static int pdd = 8; > > +module_param(pdd, int, 0); > > +MODULE_PARM_DESC(pdd, "Set pen detect comparator threshold"); > I guess that's all the documentation we get ;) It won't kill us - we've done > worse.. > It would be rather nice if the kerneldoc system could extract the above > comments and put them in a module-parameters-documentation section, but I > don't think it can do that. What would be really nice for this application would be a way to pass platform data to devices enumerated by non-platform buses - most of the time these parameters are determined by the board the system is on. In that case we'd be able to provide kerneldoc for the struct used to pass in platform data. > > + if (timeout <= 0) { > timeout cannot be negative here. Fixed, thanks. - To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html