From: Tim Collier Date: Wed, 26 Sep 2018 22:06:22 +0000 (+0100) Subject: staging: wlan-ng: rename DIDmib_p2_p2Static in p80211metadef.h X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=35184f81021281f84d1b6044138e89cfc96284ea;p=openwrt%2Fstaging%2Fblogic.git staging: wlan-ng: rename DIDmib_p2_p2Static in p80211metadef.h 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wlan-ng/p80211metadef.h b/drivers/staging/wlan-ng/p80211metadef.h index 5ac049f403f4..44618d9ddeea 100644 --- a/drivers/staging/wlan-ng/p80211metadef.h +++ b/drivers/staging/wlan-ng/p80211metadef.h @@ -228,7 +228,7 @@ 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 \