Staging: rtl8723bs: fix names in drv_types.h
authorMarco Cesati <marcocesati@gmail.com>
Wed, 17 Mar 2021 22:20:54 +0000 (23:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Mar 2021 09:16:45 +0000 (10:16 +0100)
This commit converts names of structs / enums
in include/drv_types.h from ALL_CAPS format to lowercase

Signed-off-by: Marco Cesati <marcocesati@gmail.com>
Link: https://lore.kernel.org/r/20210317222130.29528-8-marcocesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/drv_types.h

index 9d482a6..49f10ff 100644 (file)
@@ -24,7 +24,7 @@
 #include <wifi.h>
 #include <ieee80211.h>
 
-enum _NIC_VERSION {
+enum _nic_version {
 
        RTL8711_NIC,
        RTL8712_NIC,
@@ -359,19 +359,19 @@ static inline struct device *dvobj_to_dev(struct dvobj_priv *dvobj)
 
 struct adapter *dvobj_get_port0_adapter(struct dvobj_priv *dvobj);
 
-enum _IFACE_TYPE {
+enum _iface_type {
        IFACE_PORT0, /* mapping to port0 for C/D series chips */
        IFACE_PORT1, /* mapping to port1 for C/D series chip */
        MAX_IFACE_PORT,
 };
 
-enum ADAPTER_TYPE {
+enum adapter_type {
        PRIMARY_ADAPTER,
        SECONDARY_ADAPTER,
        MAX_ADAPTER = 0xFF,
 };
 
-enum DRIVER_STATE {
+enum driver_state {
        DRIVER_NORMAL = 0,
        DRIVER_DISAPPEAR = 1,
        DRIVER_REPLACE_DONGLE = 2,