mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] wifi: ath: Remove ath*_base::bd_api
@ 2023-10-13 14:24 Jeff Johnson
  2023-10-13 14:24 ` [PATCH 1/2] wifi: ath11k: Remove ath11k_base::bd_api Jeff Johnson
  2023-10-13 14:24 ` [PATCH 2/2] wifi: ath12k: Remove ath12k_base::bd_api Jeff Johnson
  0 siblings, 2 replies; 4+ messages in thread
From: Jeff Johnson @ 2023-10-13 14:24 UTC (permalink / raw)
  To: Kalle Valo; +Cc: ath11k, linux-wireless, linux-kernel, ath12k, Jeff Johnson

Both ath11k and ath12k inherited the bd_api member in their struct
ath*_base.  In ath10k this member is accessed from both
ath10k_core_fetch_board_file() and ath10k_debug_print_board_info(), so
it is justified. However, in ath11k and ath12k, this member is only
used within a single function, so it is not justified in those
drivers.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
Jeff Johnson (2):
      wifi: ath11k: Remove ath11k_base::bd_api
      wifi: ath12k: Remove ath12k_base::bd_api

 drivers/net/wireless/ath/ath11k/core.c | 7 ++++---
 drivers/net/wireless/ath/ath11k/core.h | 1 -
 drivers/net/wireless/ath/ath12k/core.c | 7 ++++---
 drivers/net/wireless/ath/ath12k/core.h | 1 -
 4 files changed, 8 insertions(+), 8 deletions(-)
---
base-commit: 13556aef0bdc0e98df7b6bf2e10d706c59dce6f4
change-id: 20231011-ath11k_bd_api-a9c1678e4cbc


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-18  8:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-13 14:24 [PATCH 0/2] wifi: ath: Remove ath*_base::bd_api Jeff Johnson
2023-10-13 14:24 ` [PATCH 1/2] wifi: ath11k: Remove ath11k_base::bd_api Jeff Johnson
2023-10-18  8:31   ` Kalle Valo
2023-10-13 14:24 ` [PATCH 2/2] wifi: ath12k: Remove ath12k_base::bd_api Jeff Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®