On 12/12/2024 1:17 PM, Kalle Valo wrote:
Karthikeyan Periyasamy <quic_periyasa@xxxxxxxxxxx> writes:
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@xxxxxxxxxxx>
Why?
It just remove the dependency of device handle (ab) for using the helper
function ath12k_*_to_ah(). Now the caller can directly use
ath12k_hw_group (ag) instead of forcing to use the device handle from ag.
--
Karthikeyan Periyasamy
--
கார்த்திகேயன் பெரியசாமி