mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
ath10k: copy the whole struct ath10k_bus_params in ath10k_core_register()
Instead of copying fields one by one copy the whole structure. This way there's no need to modify the function every time we add a new field to the struct. Compile tested only. Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
bdf2bd9aa6
commit
01dc76dfdc
1 changed files with 2 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue