Messages in this thread | | | Date | Mon, 22 Mar 2010 10:45:48 +0100 | From | Lars Lindley <> | Subject | Re: [PATCH] staging: winbond: wb35reg_f.h Coding style fixes. |
| |
On 2010-03-22 08:16, Pekka Enberg wrote: > 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@coyote.org> > > Did you check that all these function declarations are actually used? > I've spotted plenty of dead code in the past. > Nope, didn't check that. Just looking at the style now..
>> +/* >> + * ==================================== >> + * 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. > I thought struct hw_data *hw_data looked a bit confusing..Thats why I left CamelCase alone for now. I can make it like that if you want..
/Lars
| |