wifi: rt2x00: move helper functions up in file
authorDaniel Golle <daniel@makrotopia.org>
Sat, 17 Sep 2022 20:28:58 +0000 (21:28 +0100)
committerKalle Valo <kvalo@kernel.org>
Sat, 24 Sep 2022 12:30:57 +0000 (15:30 +0300)
commit79b4c9455e0baf40cad2a4740c98a31658641284
treec3600be5a8387e401c00fe7686329c0118df7e28
parentdab902fe1d29dc0fa1dccc8d13dc89ffbf633881
wifi: rt2x00: move helper functions up in file

Move register access helper functions up to the head of the file so
they can be used in all functions.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/c27baa8efd5c29e2bcb2432925d9cdc5c913a125.1663445157.git.daniel@makrotopia.org
drivers/net/wireless/ralink/rt2x00/rt2800lib.c