wifi: cw1200: use get_unaligned_le64()
authorJohannes Berg <johannes.berg@intel.com>
Sun, 4 Sep 2022 19:29:11 +0000 (21:29 +0200)
committerKalle Valo <kvalo@kernel.org>
Wed, 7 Sep 2022 08:03:00 +0000 (11:03 +0300)
commit53b17c121f29d6bf8547f8823650a8d134e7afb6
treed6bd3f80a274623707c9f634f34981125e29c4ca
parentdf8e1af22cee900826112e8e4612cbeb2b168929
wifi: cw1200: use get_unaligned_le64()

Instead of the code here that copies into a variable
first and then flips endianness, which confuses sparse,
just directly use get_unaligned_le64().

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220904212910.a5c9ea122f0f.If786a66f8fd9d45659cd5a2532cf395e21334453@changeid
drivers/net/wireless/st/cw1200/txrx.c