drivers/wifi: Avoid camel casing in macro definition

Convert camel case macros to uppercase and underscore separated macros,
such as:

PCI_DID_CyP_6SERIES_WIFI -> PCI_DID_CP_6SERIES_WIFI
PCI_DID_TyP_6SERIES_WIFI -> PCI_DID_TP_6SERIES_WIFI

This makes the macros more consistent with the rest of the code and
easier to read.

Change-Id: I9c739aab93dc0d043a3c9d9ce799087952c1e20b
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77644
Reviewed-by: Ivy Jian <ivy.jian@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
This commit is contained in:
Subrata Banik 2023-09-04 17:41:29 +00:00
parent e48f24d7f2
commit d426176e24
2 changed files with 6 additions and 6 deletions

View File

@ -103,10 +103,10 @@ static const unsigned short intel_pci_device_ids[] = {
PCI_DID_WSP_8275_SERIES_1_WIFI, PCI_DID_WSP_8275_SERIES_1_WIFI,
/* Thunder Peak 2 */ /* Thunder Peak 2 */
PCI_DID_TP_9260_SERIES_WIFI, PCI_DID_TP_9260_SERIES_WIFI,
/* Cyclone Peak */ /* Cyclone Peak (CyP) */
PCI_DID_CyP_6SERIES_WIFI, PCI_DID_CP_6SERIES_WIFI,
/* Typhoon Peak */ /* Typhoon Peak (TyP) */
PCI_DID_TyP_6SERIES_WIFI, PCI_DID_TP_6SERIES_WIFI,
0 0
}; };

View File

@ -4510,8 +4510,8 @@
#define PCI_DID_SFP_8260_SERIES_2_WIFI 0x24f4 #define PCI_DID_SFP_8260_SERIES_2_WIFI 0x24f4
#define PCI_DID_WSP_8275_SERIES_1_WIFI 0x24fd #define PCI_DID_WSP_8275_SERIES_1_WIFI 0x24fd
#define PCI_DID_TP_9260_SERIES_WIFI 0x2526 #define PCI_DID_TP_9260_SERIES_WIFI 0x2526
#define PCI_DID_CyP_6SERIES_WIFI 0x2723 #define PCI_DID_CP_6SERIES_WIFI 0x2723
#define PCI_DID_TyP_6SERIES_WIFI 0x2725 #define PCI_DID_TP_6SERIES_WIFI 0x2725
#define PCI_DID_INTEL_TGL_IPU 0x9a19 #define PCI_DID_INTEL_TGL_IPU 0x9a19
#define PCI_DID_INTEL_TGL_H_IPU 0x9a39 #define PCI_DID_INTEL_TGL_H_IPU 0x9a39