From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH 2/6] Add chip driver for WM9705 touchscreen Date: Thu, 28 Feb 2008 11:46:33 +0000 Message-ID: <20080228114633.GA20092@rakim.wolfsonmicro.main> References: <12040332183316-git-send-email-broonie@opensource.wolfsonmicro.com> <12040332181161-git-send-email-broonie@opensource.wolfsonmicro.com> <20080227230932.3e7f699c.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from opensource.wolfsonmicro.com ([80.75.67.52]:57873 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751741AbYB1Lqf (ORCPT ); Thu, 28 Feb 2008 06:46:35 -0500 Content-Disposition: inline In-Reply-To: <20080227230932.3e7f699c.akpm@linux-foundation.org> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Andrew Morton Cc: Dmitry Torokhov , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Liam Girdwood , Graeme Gregory , Dmitry Baryshkov , Rodolfo Giometti , Russell King , Marc Kleine-Budde , Pete MacKay , Ian Molton , Vince Sanders , Andrew Zabolotny On Wed, Feb 27, 2008 at 11:09:32PM -0800, Andrew Morton wrote: > On Tue, 26 Feb 2008 13:40:14 +0000 Mark Brown 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.