Skip to content

Commit 0e0a2b3

Browse files
treedaviesgregkh
authored andcommitted
Staging: rtl8192e: Rename variable Operation
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>
1 parent de510b7 commit 0e0a2b3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/staging/rtl8192e/rtl8192e/r8192E_phy.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ void rtl92e_set_channel(struct net_device *dev, u8 channel);
4343
void rtl92e_set_bw_mode(struct net_device *dev,
4444
enum ht_channel_width bandwidth,
4545
enum ht_extchnl_offset Offset);
46-
void rtl92e_init_gain(struct net_device *dev, u8 Operation);
46+
void rtl92e_init_gain(struct net_device *dev, u8 operation);
4747

4848
void rtl92e_set_rf_off(struct net_device *dev);
4949

5050
bool rtl92e_set_rf_power_state(struct net_device *dev,
5151
enum rt_rf_power_state rf_power_state);
5252

53-
void rtl92e_scan_op_backup(struct net_device *dev, u8 Operation);
53+
void rtl92e_scan_op_backup(struct net_device *dev, u8 operation);
5454

5555
#endif

drivers/staging/rtl8192e/rtllib.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1460,9 +1460,9 @@ struct rtllib_device {
14601460
void (*set_wireless_mode)(struct net_device *dev, u8 wireless_mode);
14611461
bool (*get_half_nmode_support_by_aps_handler)(struct net_device *dev);
14621462
u8 (*rtllib_ap_sec_type)(struct rtllib_device *ieee);
1463-
void (*init_gain_handler)(struct net_device *dev, u8 Operation);
1463+
void (*init_gain_handler)(struct net_device *dev, u8 operation);
14641464
void (*scan_operation_backup_handler)(struct net_device *dev,
1465-
u8 Operation);
1465+
u8 operation);
14661466
void (*set_hw_reg_handler)(struct net_device *dev, u8 variable, u8 *val);
14671467

14681468
void (*allow_all_dest_addr_handler)(struct net_device *dev,

0 commit comments

Comments
 (0)