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