staging: wlan-ng: rename DIDmsg_p2req_ramdl_state_enable in p80211metadef.h
authorTim Collier <osdevtc@gmail.com>
Wed, 26 Sep 2018 22:05:49 +0000 (23:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 12:41:38 +0000 (14:41 +0200)
Rename DIDmsg_p2req_ramdl_state_enable in p80211metadef.h to
DIDMSG_P2REQ_RAMDL_STATE_ENABLE 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 0ad3760bf77911a2f39f51892c1fbf6d44c87b62..eba3da7f3b82d715c593e21db635b2b7949fb4b4 100644 (file)
 #define DIDMSG_P2REQ_RAMDL_STATE \
                        (P80211DID_MKSECTION(5) | \
                        P80211DID_MKGROUP(11))
-#define DIDmsg_p2req_ramdl_state_enable \
+#define DIDMSG_P2REQ_RAMDL_STATE_ENABLE \
                        (P80211DID_MKSECTION(5) | \
                        P80211DID_MKGROUP(11) | \
                        P80211DID_MKITEM(1) | 0x00000000)
index 37f63988d5c9151c6ee33294a1408fcf11ec3f78..5df3c954b4e151492b8dc485c4262e8e7ebb72b7 100644 (file)
@@ -1023,7 +1023,7 @@ static int writeimage(struct wlandevice *wlandev, struct imgchunk *fchunk,
        strcpy(rstmsg->devname, wlandev->name);
        rstmsg->msgcode = DIDMSG_P2REQ_RAMDL_STATE;
        rstmsg->msglen = sizeof(*rstmsg);
-       rstmsg->enable.did = DIDmsg_p2req_ramdl_state_enable;
+       rstmsg->enable.did = DIDMSG_P2REQ_RAMDL_STATE_ENABLE;
        rstmsg->exeaddr.did = DIDmsg_p2req_ramdl_state_exeaddr;
        rstmsg->resultcode.did = DIDmsg_p2req_ramdl_state_resultcode;
        rstmsg->enable.status = P80211ENUM_msgitem_status_data_ok;