From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758810AbYB1Lqo (ORCPT ); Thu, 28 Feb 2008 06:46:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752620AbYB1Lqg (ORCPT ); Thu, 28 Feb 2008 06:46:36 -0500 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 Date: Thu, 28 Feb 2008 11:46:33 +0000 From: Mark Brown 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 Subject: Re: [PATCH 2/6] Add chip driver for WM9705 touchscreen Message-ID: <20080228114633.GA20092@rakim.wolfsonmicro.main> Mail-Followup-To: Andrew Morton , 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 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 Content-Disposition: inline In-Reply-To: <20080227230932.3e7f699c.akpm@linux-foundation.org> X-Cookie: Individualists unite! User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.