Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763335AbYBFMe5 (ORCPT ); Wed, 6 Feb 2008 07:34:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762303AbYBFMet (ORCPT ); Wed, 6 Feb 2008 07:34:49 -0500 Received: from smtp-out1.tiscali.nl ([195.241.79.176]:53234 "EHLO smtp-out1.tiscali.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761674AbYBFMer (ORCPT ); Wed, 6 Feb 2008 07:34:47 -0500 Message-ID: <47A9A944.7090401@tiscali.nl> Date: Wed, 06 Feb 2008 13:34:12 +0100 From: Roel Kluin <12o3l@tiscali.nl> User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: Kristoffer Ericson CC: Russell King , rpurdie@openedhand.com, Linux-arm , linux-main Subject: Re: [PATCH/HP7XX] - Add combined LCD / BL driver for platform HP Jornada 7xx handhelds References: <20080205195331.fa2ca02b.Kristoffer.ericson@gmail.com> In-Reply-To: <20080205195331.fa2ca02b.Kristoffer.ericson@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 9180 Lines: 326 Kristoffer Ericson wrote: > Greetings, > > Richard I've cleaned up the driver by checking with checkpatch.pl as Russell suggested. I would appreciate it if you could > look through the patch again and give comments since the patch looks somewhat different. > > I can add patch for Kconfig/Makefile later on but suspect there will be some changes required before that. > > Oh and to answer your question regarding MAX/MIN values of the backlight, 0 = max and 255 = min. So we simply turn it around > by returning 255 - value. Same thing when we need to set value. > > Best wishes > Kristoffer Ericson > > diff --git a/drivers/video/backlight/jornada720_bllcd.c b/drivers/video/backlight/jornada720_bllcd.c > new file mode 100644 > index 0000000..4967b86 > --- /dev/null > +++ b/drivers/video/backlight/jornada720_bllcd.c > @@ -0,0 +1,284 @@ > +/* > + * drivers/video/backlight/jornada720_bllcd.c > + * > + * Backlight and LCD Driver for HP Jornada 720 > + * Copyright (C) 2007 Kristoffer Ericson > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License version 2 > + * or any later version as published by the Free Software Foundation. > + * > + */ > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include