mbox series

[0/2] wifi: ath11k: rename the variable naming convention

Message ID 20231014032650.32605-1-quic_periyasa@quicinc.com
Headers show
Series wifi: ath11k: rename the variable naming convention | expand

Message

Karthikeyan Periyasamy Oct. 14, 2023, 3:26 a.m. UTC
Currently, the identifier sc is used to represent an instance of
SoC structure. But in ath11k ab is refer to the SoC data structure.
So rename the variable name.

Karthikeyan Periyasamy (2):
  wifi: ath11k: rename the wmi_sc naming convention to wmi_ab
  wifi: ath11k: rename the sc naming convention to ab

 drivers/net/wireless/ath/ath11k/hif.h     | 54 +++++++++++------------
 drivers/net/wireless/ath/ath11k/pcic.c    |  6 +--
 drivers/net/wireless/ath/ath11k/thermal.c | 22 ++++-----
 drivers/net/wireless/ath/ath11k/thermal.h |  8 ++--
 drivers/net/wireless/ath/ath11k/wmi.c     | 32 +++++++-------
 5 files changed, 61 insertions(+), 61 deletions(-)


base-commit: acbc21b2b1b18429244266f70a44b7043d391eae

Comments

Jeff Johnson Oct. 16, 2023, 3:06 p.m. UTC | #1
On 10/13/2023 8:26 PM, Karthikeyan Periyasamy wrote:
> In WMI layer module, the identifier wmi_sc is used to represent
> an instance of ath11k_wmi_base structure. However, within ath11k,
> the convention is to use "ab" to represent an SoC "base" struct.
> So change the all instances of wmi_sc to wmi_ab.
> 
> Compile tested only.
> 
> Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@quicinc.com>

Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Jeff Johnson Oct. 16, 2023, 3:06 p.m. UTC | #2
On 10/13/2023 8:26 PM, Karthikeyan Periyasamy wrote:
> In PCI, thermal and HAL interface layer module, the identifier
> sc is used to represent an instance of ath11k_base structure.
> However, within ath11k, the convention is to use "ab" to
> represent an SoC "base" struct. So change the all instances
> of sc to ab.
> 
> Compile tested only.
> 
> Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@quicinc.com>

Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>