staging: wlan-ng: rename DIDmsg_p2req_readpda_resultcode in p80211metadef.h
authorTim Collier <osdevtc@gmail.com>
Wed, 26 Sep 2018 22:05:47 +0000 (23:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 12:41:38 +0000 (14:41 +0200)
Rename DIDmsg_p2req_readpda_resultcode in p80211metadef.h to
DIDMSG_P2REQ_READPDA_RESULTCODE to fix "Avoid CamelCase" message from
checkpatch and conform to the coding style guidelines.

Signed-off-by: Tim Collier <osdevtc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/p80211metadef.h
drivers/staging/wlan-ng/prism2fw.c

index 18190e03015c584a5b4f8ef46446d17d135039c0..945fb16d2f7ecd131170d88956a5ebeb96d673b4 100644 (file)
                        (P80211DID_MKSECTION(5) | \
                        P80211DID_MKGROUP(2) | \
                        P80211DID_MKITEM(1) | 0x00000000)
-#define DIDmsg_p2req_readpda_resultcode \
+#define DIDMSG_P2REQ_READPDA_RESULTCODE \
                        (P80211DID_MKSECTION(5) | \
                        P80211DID_MKGROUP(2) | \
                        P80211DID_MKITEM(2) | 0x00000000)
index f85e2fea454494569a7f247d87fed1d7a52d78ad..d8f66dd13fc8f412ce4613757d3ea442a6442850 100644 (file)
@@ -793,7 +793,7 @@ static int read_cardpda(struct pda *pda, struct wlandevice *wlandev)
        msg->pda.did = DIDMSG_P2REQ_READPDA_PDA;
        msg->pda.len = HFA384x_PDA_LEN_MAX;
        msg->pda.status = P80211ENUM_msgitem_status_no_value;
-       msg->resultcode.did = DIDmsg_p2req_readpda_resultcode;
+       msg->resultcode.did = DIDMSG_P2REQ_READPDA_RESULTCODE;
        msg->resultcode.len = sizeof(u32);
        msg->resultcode.status = P80211ENUM_msgitem_status_no_value;