Fix checkpatch warnings:
./drivers/net/wireless/ralink/rt2x00/rt2x00.h:386: ERROR: "foo* bar"
should be "foo *bar"
./drivers/net/wireless/ralink/rt2x00/rt2x00.h:513: ERROR: "foo* bar"
should be "foo *bar"
Signed-off-by: Yu Han <hanyu001@xxxxxxxxxx>
---
drivers/net/wireless/ralink/rt2x00/rt2x00.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00.h
b/drivers/net/wireless/ralink/rt2x00/rt2x00.h
index 07a6a5a..c883d7f 100644
--- a/drivers/net/wireless/ralink/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/ralink/rt2x00/rt2x00.h
@@ -383,7 +383,7 @@ struct rt2x00_intf {
atomic_t seqno;
};
-static inline struct rt2x00_intf* vif_to_intf(struct ieee80211_vif
*vif)
+static inline struct rt2x00_intf *vif_to_intf(struct ieee80211_vif
*vif)
{
return (struct rt2x00_intf *)vif->drv_priv;
}
@@ -510,7 +510,7 @@ struct rt2x00_sta {
int wcid;
};
-static inline struct rt2x00_sta* sta_to_rt2x00_sta(struct ieee80211_sta
*sta)
+static inline struct rt2x00_sta *sta_to_rt2x00_sta(struct ieee80211_sta
*sta)
{
return (struct rt2x00_sta *)sta->drv_priv;
}