staging: wlan-ng: rename DIDmsg_p2req_ramdl_write_data in p80211metadef.h
authorTim Collier <osdevtc@gmail.com>
Wed, 26 Sep 2018 22:05:55 +0000 (23:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 12:42:41 +0000 (14:42 +0200)
Rename DIDmsg_p2req_ramdl_write_data in p80211metadef.h to
DIDMSG_P2REQ_RAMDL_WRITE_DATA 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 325f7def940a28daa223635ef6e04c28417eaa58..7e39ec91e70ea92cfe2b4d90320d4e4dc2627769 100644 (file)
                        (P80211DID_MKSECTION(5) | \
                        P80211DID_MKGROUP(12) | \
                        P80211DID_MKITEM(2) | 0x00000000)
-#define DIDmsg_p2req_ramdl_write_data \
+#define DIDMSG_P2REQ_RAMDL_WRITE_DATA \
                        (P80211DID_MKSECTION(5) | \
                        P80211DID_MKGROUP(12) | \
                        P80211DID_MKITEM(3) | 0x00000000)
index ab7d45023263966b564e699ed3276822fccdc7e1..76662f4e690dff6c834b463b8a498ebf1df2a6d0 100644 (file)
@@ -1038,7 +1038,7 @@ static int writeimage(struct wlandevice *wlandev, struct imgchunk *fchunk,
        rwrmsg->msglen = sizeof(*rwrmsg);
        rwrmsg->addr.did = DIDMSG_P2REQ_RAMDL_WRITE_ADDR;
        rwrmsg->len.did = DIDMSG_P2REQ_RAMDL_WRITE_LEN;
-       rwrmsg->data.did = DIDmsg_p2req_ramdl_write_data;
+       rwrmsg->data.did = DIDMSG_P2REQ_RAMDL_WRITE_DATA;
        rwrmsg->resultcode.did = DIDmsg_p2req_ramdl_write_resultcode;
        rwrmsg->addr.status = P80211ENUM_msgitem_status_data_ok;
        rwrmsg->len.status = P80211ENUM_msgitem_status_data_ok;