Commit 973267a2 authored by Adam Latham's avatar Adam Latham Committed by Greg Kroah-Hartman

Staging: winbond: Fix for pointer name format issue in mds.c

This patch fixes the unnecessary whitespace found in pointer names in
the mds.c file found by the checkpatch.pl tool
Signed-off-by: default avatarAdam Latham <adam.latham@unisontorbay.org.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent cc856e61
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include "wblinux_f.h" #include "wblinux_f.h"
unsigned char unsigned char
Mds_initial(struct wbsoft_priv * adapter) Mds_initial(struct wbsoft_priv *adapter)
{ {
struct wb35_mds *pMds = &adapter->Mds; struct wb35_mds *pMds = &adapter->Mds;
...@@ -18,7 +18,7 @@ Mds_initial(struct wbsoft_priv * adapter) ...@@ -18,7 +18,7 @@ Mds_initial(struct wbsoft_priv * adapter)
} }
void void
Mds_Destroy(struct wbsoft_priv * adapter) Mds_Destroy(struct wbsoft_priv *adapter)
{ {
} }
...@@ -318,7 +318,7 @@ static u16 Mds_BodyCopy(struct wbsoft_priv *adapter, struct wb35_descriptor *pDe ...@@ -318,7 +318,7 @@ static u16 Mds_BodyCopy(struct wbsoft_priv *adapter, struct wb35_descriptor *pDe
return Size; return Size;
} }
static void Mds_HeaderCopy(struct wbsoft_priv * adapter, struct wb35_descriptor *pDes, u8 *TargetBuffer) static void Mds_HeaderCopy(struct wbsoft_priv *adapter, struct wb35_descriptor *pDes, u8 *TargetBuffer)
{ {
struct wb35_mds *pMds = &adapter->Mds; struct wb35_mds *pMds = &adapter->Mds;
u8 *src_buffer = pDes->buffer_address[0]; /* 931130.5.g */ u8 *src_buffer = pDes->buffer_address[0]; /* 931130.5.g */
...@@ -414,9 +414,9 @@ static void Mds_HeaderCopy(struct wbsoft_priv * adapter, struct wb35_descriptor ...@@ -414,9 +414,9 @@ static void Mds_HeaderCopy(struct wbsoft_priv * adapter, struct wb35_descriptor
} }
void void
Mds_Tx(struct wbsoft_priv * adapter) Mds_Tx(struct wbsoft_priv *adapter)
{ {
struct hw_data * pHwData = &adapter->sHwData; struct hw_data *pHwData = &adapter->sHwData;
struct wb35_mds *pMds = &adapter->Mds; struct wb35_mds *pMds = &adapter->Mds;
struct wb35_descriptor TxDes; struct wb35_descriptor TxDes;
struct wb35_descriptor *pTxDes = &TxDes; struct wb35_descriptor *pTxDes = &TxDes;
...@@ -550,10 +550,10 @@ Mds_Tx(struct wbsoft_priv * adapter) ...@@ -550,10 +550,10 @@ Mds_Tx(struct wbsoft_priv * adapter)
} }
void void
Mds_SendComplete(struct wbsoft_priv * adapter, PT02_DESCRIPTOR pT02) Mds_SendComplete(struct wbsoft_priv *adapter, PT02_DESCRIPTOR pT02)
{ {
struct wb35_mds *pMds = &adapter->Mds; struct wb35_mds *pMds = &adapter->Mds;
struct hw_data * pHwData = &adapter->sHwData; struct hw_data *pHwData = &adapter->sHwData;
u8 PacketId = (u8)pT02->T02_Tx_PktID; u8 PacketId = (u8)pT02->T02_Tx_PktID;
unsigned char SendOK = true; unsigned char SendOK = true;
u8 RetryCount, TxRate; u8 RetryCount, TxRate;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment