From: "Ken O'Brien" <kernel@kenobrien.org>
To: gregkh@suse.de
Cc: mikem@ring3k.org, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org,
"Ken O'Brien" <kernel@kenobrien.org>
Subject: [PATCH 3/3] Staging: rtl8192e: Fixed numerous coding style issues
Date: Sun, 5 Jun 2011 18:24:33 +0100 [thread overview]
Message-ID: <1307294673-26210-2-git-send-email-kernel@kenobrien.org> (raw)
In-Reply-To: <1307294673-26210-1-git-send-email-kernel@kenobrien.org>
Fixed all coding style issues thrown by checkpatch.pl.
Signed-off-by: Ken O'Brien <kernel@kenobrien.org>
---
drivers/staging/rtl8192e/dot11d.h | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/rtl8192e/dot11d.h b/drivers/staging/rtl8192e/dot11d.h
index 3785fdf..8e64461 100644
--- a/drivers/staging/rtl8192e/dot11d.h
+++ b/drivers/staging/rtl8192e/dot11d.h
@@ -4,17 +4,17 @@
#ifdef ENABLE_DOT11D
#include "ieee80211.h"
-typedef struct _CHNL_TXPOWER_TRIPLE {
+struct _CHNL_TXPOWER_TRIPLE {
u8 FirstChnl;
u8 NumChnls;
u8 MaxTxPowerInDbm;
-} CHNL_TXPOWER_TRIPLE, *PCHNL_TXPOWER_TRIPLE;
+};
-typedef enum _DOT11D_STATE {
+enum _DOT11D_STATE {
DOT11D_STATE_NONE = 0,
DOT11D_STATE_LEARNED,
DOT11D_STATE_DONE,
-} DOT11D_STATE;
+};
/**
* struct _RT_DOT11D_INFO
@@ -27,7 +27,7 @@ typedef enum _DOT11D_STATE {
* @CountryIeSrcAddr - Source AP of the country IE
*/
-typedef struct _RT_DOT11D_INFO {
+struct _RT_DOT11D_INFO {
bool bEnabled;
u16 CountryIeLen;
@@ -39,7 +39,7 @@ typedef struct _RT_DOT11D_INFO {
u8 MaxTxPwrDbmList[MAX_CHANNEL_NUMBER+1];
DOT11D_STATE State;
-} RT_DOT11D_INFO, *PRT_DOT11D_INFO;
+};
static inline void cpMacAddr(unsigned char *des, unsigned char *src)
{
--
1.7.4.1
prev parent reply other threads:[~2011-06-05 17:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-05 17:24 [PATCH 2/3] Staging: rtl8192e: Fixed numerous coding style issues Ken O'Brien
2011-06-05 17:24 ` Ken O'Brien [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1307294673-26210-2-git-send-email-kernel@kenobrien.org \
--to=kernel@kenobrien.org \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mikem@ring3k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox