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/drivers/wifi/generic | |
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/drivers/wifi/generic')
-rw-r--r-- | src/drivers/wifi/generic/generic.c | 8 |
1 files changed, 4 insertions, 4 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 }; |