mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] wifi: morsemicro: mm81x: get rid of code duplications
@ 2026-09-25 19:59 Yury Norov
  2026-09-25 19:59 ` [PATCH 1/2] wifi: morsemicro: mm81x: switch to use fns() Yury Norov
  2026-09-25 19:59 ` [PATCH 2/2] wifi: morsemicro: mm81x: use hweight16() to calculate bit index Yury Norov
  0 siblings, 2 replies; 3+ messages in thread
From: Yury Norov @ 2026-09-25 19:59 UTC (permalink / raw)
  To: Lachlan Hodges, Dan Callaghan, Johannes Berg, Arien Judge,
	linux-wireless, linux-kernel
  Cc: Yury Norov, Yury Norov

Get rid of nth_bit() duplicating the generic fns(), and drop opencoded 
hweight16() in bit_index().

Yury Norov (2):
  wifi: morsemicro: mm81x: switch to use fns()
  wifi: morsemicro: mm81x: use hweight16() to calculate bit index

 drivers/net/wireless/morsemicro/mm81x/mmrc.c | 34 ++++----------------
 1 file changed, 7 insertions(+), 27 deletions(-)

-- 
2.53.0


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

end of thread, other threads:[~2026-09-25 19:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25 19:59 [PATCH 0/2] wifi: morsemicro: mm81x: get rid of code duplications Yury Norov
2026-09-25 19:59 ` [PATCH 1/2] wifi: morsemicro: mm81x: switch to use fns() Yury Norov
2026-09-25 19:59 ` [PATCH 2/2] wifi: morsemicro: mm81x: use hweight16() to calculate bit index Yury Norov

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®