mbox series

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

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

Message

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

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

 drivers/net/wireless/ath/ath12k/hif.h | 18 +++++++++---------
 drivers/net/wireless/ath/ath12k/pci.c |  4 ++--
 drivers/net/wireless/ath/ath12k/wmi.c | 22 +++++++++++-----------
 3 files changed, 22 insertions(+), 22 deletions(-)


base-commit: 91bc2f15a1b8c38ddbc1ea400dcd4bbd3639d22b

Comments

Jeff Johnson Oct. 18, 2023, 6:35 p.m. UTC | #1
On 10/18/2023 8:30 AM, Karthikeyan Periyasamy wrote:
> In PCI and HAL interface layer module, the identifier sc is used
> to represent an instance of ath12k_base structure. However,
> within ath12k, the convention is to use "ab" to represent an SoC
> "base" struct. So change the all instances of sc to ab.
> 
> Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.1.1-00125-QCAHKSWPL_SILICONZ-1
> 
> Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>