staging: wlan-ng: rename DIDmib_p2_p2Static in p80211metadef.h
authorTim Collier <osdevtc@gmail.com>
Wed, 26 Sep 2018 22:06:22 +0000 (23:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 12:42:42 +0000 (14:42 +0200)
Rename DIDmib_p2_p2Static in p80211metadef.h to DIDMIB_P2_STATIC to
fix "Avoid CamelCase" message from checkpatch and conform to the
coding style guidelines. Also shorten name by removing repeated use of
"P2" to ease readability and reduce long lines.

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

index 5ac049f..44618d9 100644 (file)
                        P80211DID_MKITEM(1) | 0x18000000)
 #define DIDMIB_CAT_P2 \
                        P80211DID_MKSECTION(5)
-#define DIDmib_p2_p2Static \
+#define DIDMIB_P2_STATIC \
                        (P80211DID_MKSECTION(5) | \
                        P80211DID_MKGROUP(2))
 #define DIDmib_p2_p2Static_p2CnfPortType \