]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: Refactor the ath12k_hw get helper function argument
authorKarthikeyan Periyasamy <quic_periyasa@quicinc.com>
Sun, 12 Jan 2025 07:16:28 +0000 (12:46 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Tue, 14 Jan 2025 20:53:01 +0000 (12:53 -0800)
commit812a30271d48cff5edc39aeb436b3bebd558f5cf
tree2852aea4ecd851a9a33d24d290cae8fb09a72946
parent21261e4d564e866bdae810b4fb5278a3a6a1a6ed
wifi: ath12k: Refactor the ath12k_hw get helper function argument

Currently, ath12k_hw is placed inside the ath12k_hw_group. However, the
ath12k_hw get helper function takes the device handle and the index as
parameters. Here, the index parameter is specific to the group handle.
Therefore, change this helper function argument from the device handle
to the group handle.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1

Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@quicinc.com>
Acked-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Acked-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20250112071630.4059410-3-quic_periyasa@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/core.c
drivers/net/wireless/ath/ath12k/core.h
drivers/net/wireless/ath/ath12k/mac.c