[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4BA71949.9040809@cs.helsinki.fi>
Date: Mon, 22 Mar 2010 09:16:25 +0200
From: Pekka Enberg <penberg@...helsinki.fi>
To: Lars Lindley <lindley@...ote.org>
CC: gregkh@...e.de, greg@...ah.com, pavel@....cz,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: winbond: wb35reg_f.h Coding style fixes.
Lars Lindley kirjoitti:
> I fixed the checkpatch things except a couple of long lines.
> I also removed hungarian notation from the argument names
> and some "commented away" code.
>
> Signed-off-by: Lars Lindley <lindley@...ote.org>
Did you check that all these function declarations are actually used?
I've spotted plenty of dead code in the past.
> +/*
> + * ====================================
> + * Interface function declare
> + * ====================================
> + */
> +unsigned char Wb35Reg_initial(struct hw_data *HwData);
Lets avoid CamelCase for the arguments so "hw_data" here, for example. I
see the same thing elsewhere in this patch as well.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists