diff options
author | Subrata Banik <subratabanik@google.com> | 2023-09-04 17:41:29 +0000 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2023-09-05 09:37:05 +0000 |
commit | d426176e2469130a96717b3f2594daeab5d3fe34 (patch) | |
tree | 819a1c8d23d81cef47fc8c7a0c01d2969e98a7cf /src | |
parent | e48f24d7f29b1211ac4667707aded013126faa61 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/wifi/generic/generic.c | 8 | ||||
-rw-r--r-- | src/include/device/pci_ids.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/drivers/wifi/generic/generic.c b/src/drivers/wifi/generic/generic.c index adcb68d0ff..4f849a3b08 100644 --- a/src/drivers/wifi/generic/generic.c +++ b/src/drivers/wifi/generic/generic.c @@ -103,10 +103,10 @@ static const unsigned short intel_pci_device_ids[] = { PCI_DID_WSP_8275_SERIES_1_WIFI, /* Thunder Peak 2 */ PCI_DID_TP_9260_SERIES_WIFI, - /* Cyclone Peak */ - PCI_DID_CyP_6SERIES_WIFI, - /* Typhoon Peak */ - PCI_DID_TyP_6SERIES_WIFI, + /* Cyclone Peak (CyP) */ + PCI_DID_CP_6SERIES_WIFI, + /* Typhoon Peak (TyP) */ + PCI_DID_TP_6SERIES_WIFI, 0 }; diff --git a/src/include/device/pci_ids.h b/src/include/device/pci_ids.h index 5893509b35..aea8638fe9 100644 --- a/src/include/device/pci_ids.h +++ b/src/include/device/pci_ids.h @@ -4510,8 +4510,8 @@ #define PCI_DID_SFP_8260_SERIES_2_WIFI 0x24f4 #define PCI_DID_WSP_8275_SERIES_1_WIFI 0x24fd #define PCI_DID_TP_9260_SERIES_WIFI 0x2526 -#define PCI_DID_CyP_6SERIES_WIFI 0x2723 -#define PCI_DID_TyP_6SERIES_WIFI 0x2725 +#define PCI_DID_CP_6SERIES_WIFI 0x2723 +#define PCI_DID_TP_6SERIES_WIFI 0x2725 #define PCI_DID_INTEL_TGL_IPU 0x9a19 #define PCI_DID_INTEL_TGL_H_IPU 0x9a39 |