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

Currently, ath12k_hw is placed inside the ath12k_hw_group. However, the
ath12k_hw set 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-2-quic_periyasa@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/core.h
drivers/net/wireless/ath/ath12k/mac.c