]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mwifiex: use adapter as context pointer for mwifiex_hs_activated_event()
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 10 Apr 2025 10:24:26 +0000 (12:24 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Apr 2025 13:34:22 +0000 (15:34 +0200)
commit7d902365171cefc8d6fda5f2f00365333f701135
tree3d44d4c6fb9f37220a271c1ba5e7699908f11594
parentbf55d51f080eb4a8b722b602508930cc0d50c655
wifi: mwifiex: use adapter as context pointer for mwifiex_hs_activated_event()

mwifiex_hs_activated_event() takes a struct mwifiex_private * as
context pointer which this function doesn't need directly and the callers
don't have. Use struct mwifiex_adapter * instead to simplify both the
function and the callers.

Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Brian Norris <briannorris@chromium.org>
Link: https://patch.msgid.link/20250410-mwifiex-cleanup-1-v6-2-a6bbd4ac4d37@pengutronix.de
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/marvell/mwifiex/cmdevt.c
drivers/net/wireless/marvell/mwifiex/main.c
drivers/net/wireless/marvell/mwifiex/main.h