Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756529AbYBFTVr (ORCPT ); Wed, 6 Feb 2008 14:21:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753192AbYBFTVi (ORCPT ); Wed, 6 Feb 2008 14:21:38 -0500 Received: from wx-out-0506.google.com ([66.249.82.227]:37489 "EHLO wx-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750921AbYBFTVg (ORCPT ); Wed, 6 Feb 2008 14:21:36 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:message-id:in-reply-to:references:organization:x-mailer:mime-version:content-type:from; b=afgpBvdQmVBZ7TOQoScgJuYnHcHp8G9F8KyeIpLnG1VNIItOwmflmpjlid2ZgyAyYOpN+8zm+z76ATncjuc/6EdNdcqbMaj9AtrMkDfWufbCMOwICQQjejCh9//gv8QatocLgElgMVroqpYNWo0MnsOK0cPTPwDJrHCAXEcTS9Q= Date: Wed, 6 Feb 2008 20:21:28 +0100 To: Russell King - ARM Linux Cc: Kristoffer Ericson , Roel Kluin <12o3l@tiscali.nl>, rpurdie@openedhand.com, Linux-arm , linux-main Subject: Re: [PATCH/HP7XX] - Add combined LCD / BL driver for platform HP Jornada 7xx handhelds Message-Id: <20080206202128.06fbcafa.Kristoffer.ericson@gmail.com> In-Reply-To: <20080206164435.GC32245@flint.arm.linux.org.uk> References: <20080205195331.fa2ca02b.Kristoffer.ericson@gmail.com> <47A9A944.7090401@tiscali.nl> <47A9AA4F.80508@tiscali.nl> <20080206173341.619c52c8.Kristoffer.ericson@gmail.com> <20080206164435.GC32245@flint.arm.linux.org.uk> Organization: JLime X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.5; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Wed__6_Feb_2008_20_21_28_+0100_.5WIE8oTcBNPV+zT" From: Kristoffer Ericson Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 25633 Lines: 722 This is a multi-part message in MIME format. --Multipart=_Wed__6_Feb_2008_20_21_28_+0100_.5WIE8oTcBNPV+zT Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Attempt #3 : Changes : --------- * removed JORN.. prefixes except from functions. * removed file location in head * fixed (hope) indent issues * do not exceed 80 chars per line * added extra checks if driver allocation fails * return -1 instead of (MAX + 1) ...and probably alot more. Patch: * builds * passes checkpatch.pl (only complaining about signoff-tag) Oh, and thanks for all the feedback people! (and for doing it nicely) Only thing not adress so far is richards mdelay question, need to do a quick test before I can answer that. /Kristoffer diff --git a/drivers/video/backlight/jornada720_bllcd.c b/drivers/video/backlight/jornada720_bllcd.c new file mode 100644 index 0000000..0adbc49 --- /dev/null +++ b/drivers/video/backlight/jornada720_bllcd.c @@ -0,0 +1,287 @@ +/* + * + * 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