]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Staging: rtl8192e: Rename variable Operation
authorTree Davies <tdavies@darkphysics.net>
Sun, 8 Sep 2024 19:26:26 +0000 (12:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Sep 2024 13:54:42 +0000 (15:54 +0200)
Rename variable Operation to operation
to fix checkpatch warning Avoid CamelCase.

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20240908192633.94144-10-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.h
drivers/staging/rtl8192e/rtllib.h

index c928bc2b218b32375acaa13cfbcc44cbc993f76c..956dfbdd5b68380c3cff2fe77e064b3e4e558764 100644 (file)
@@ -43,13 +43,13 @@ void rtl92e_set_channel(struct net_device *dev, u8 channel);
 void rtl92e_set_bw_mode(struct net_device *dev,
                        enum ht_channel_width bandwidth,
                        enum ht_extchnl_offset Offset);
-void rtl92e_init_gain(struct net_device *dev, u8 Operation);
+void rtl92e_init_gain(struct net_device *dev, u8 operation);
 
 void rtl92e_set_rf_off(struct net_device *dev);
 
 bool rtl92e_set_rf_power_state(struct net_device *dev,
                               enum rt_rf_power_state rf_power_state);
 
-void rtl92e_scan_op_backup(struct net_device *dev, u8 Operation);
+void rtl92e_scan_op_backup(struct net_device *dev, u8 operation);
 
 #endif
index ee5de93a90c15cda804abda8d83d7fd5d0707145..3621f27b083b00dfc74e5c20ef2e360b66aff64d 100644 (file)
@@ -1460,9 +1460,9 @@ struct rtllib_device {
        void (*set_wireless_mode)(struct net_device *dev, u8 wireless_mode);
        bool (*get_half_nmode_support_by_aps_handler)(struct net_device *dev);
        u8   (*rtllib_ap_sec_type)(struct rtllib_device *ieee);
-       void (*init_gain_handler)(struct net_device *dev, u8 Operation);
+       void (*init_gain_handler)(struct net_device *dev, u8 operation);
        void (*scan_operation_backup_handler)(struct net_device *dev,
-                                          u8 Operation);
+                                          u8 operation);
        void (*set_hw_reg_handler)(struct net_device *dev, u8 variable, u8 *val);
 
        void (*allow_all_dest_addr_handler)(struct net_device *dev,