[PATCH] staging: winbond: mds_f.h whitespace corrections.

Lars Lindley lindley at coyote.org
Thu Mar 18 08:11:41 UTC 2010


Sure..So Mds_SendComplete would be mds_send_complete?

/Lars

On 2010-03-18 09:03, Pekka Enberg wrote:
> Lars Lindley kirjoitti:
>> I fixed the whitespaces and the C99 comment.
>>
>> Signed-off-by: Lars Lindley <lindley at coyote.org>
>> ---
>>  drivers/staging/winbond/mds_f.h |   20 ++++++++++----------
>>  1 files changed, 10 insertions(+), 10 deletions(-)
>>
>> diff --git a/drivers/staging/winbond/mds_f.h
>> b/drivers/staging/winbond/mds_f.h
>> index e09dd4b..0d2bccf 100644
>> --- a/drivers/staging/winbond/mds_f.h
>> +++ b/drivers/staging/winbond/mds_f.h
>> @@ -4,17 +4,17 @@
>>  #include "wbhal_s.h"
>>  #include "core.h"
>>  
>> -unsigned char Mds_initial(  struct wbsoft_priv *adapter );
>> -void Mds_Destroy(  struct wbsoft_priv *adapter );
>> -void Mds_Tx(  struct wbsoft_priv *adapter );
>> -void Mds_SendComplete(  struct wbsoft_priv *adapter,  PT02_DESCRIPTOR
>> pT02 );
>> -void Mds_MpduProcess(  struct wbsoft_priv *adapter,  struct
>> wb35_descriptor *pRxDes );
>> +unsigned char Mds_initial(struct wbsoft_priv *adapter);
>> +void Mds_Destroy(struct wbsoft_priv *adapter);
>> +void Mds_Tx(struct wbsoft_priv *adapter);
>> +void Mds_SendComplete(struct wbsoft_priv *adapter, PT02_DESCRIPTOR
>> pT02);
>> +void Mds_MpduProcess(struct wbsoft_priv *adapter, struct
>> wb35_descriptor *pRxDes);
>>  extern void DataDmp(u8 *pdata, u32 len, u32 offset);
>>  
>> -// For data frame sending 20060802
>> -u16 MDS_GetPacketSize(  struct wbsoft_priv *adapter );
>> -void MDS_GetNextPacket(  struct wbsoft_priv *adapter,  struct
>> wb35_descriptor *pDes );
>> -void MDS_GetNextPacketComplete(  struct wbsoft_priv *adapter,  struct
>> wb35_descriptor *pDes );
>> -void MDS_SendResult(  struct wbsoft_priv *adapter,  u8 PacketId, 
>> unsigned char SendOK );
>> +/* For data frame sending */
>> +u16 MDS_GetPacketSize(struct wbsoft_priv *adapter);
>> +void MDS_GetNextPacket(struct wbsoft_priv *adapter, struct
>> wb35_descriptor *pDes);
>> +void MDS_GetNextPacketComplete(struct wbsoft_priv *adapter, struct
>> wb35_descriptor *pDes);
>> +void MDS_SendResult(struct wbsoft_priv *adapter, u8 PacketId,
>> unsigned char SendOK);
> 
> While you're at it, how about fixing up those CamelCase parameter names
> as well?
> 
>             Pekka
> 



More information about the devel mailing list