ath11k: Use sizeof_field() instead of FIELD_SIZEOF()
authorKees Cook <keescook@chromium.org>
Thu, 19 Dec 2019 00:58:02 +0000 (16:58 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 19 Dec 2019 16:18:30 +0000 (18:18 +0200)
commitca0e477931c5a725bb887c764a49eb5d69ab7a67
tree3f64f11ea033c6b251bb1c4d2a81639b5dde6bfe
parent77ea8b455ca1d93221bad979a59271233ecb757e
ath11k: Use sizeof_field() instead of FIELD_SIZEOF()

The FIELD_SIZEOF() macro was redundant, and is being removed from the
kernel. Since commit c593642c8be0 ("treewide: Use sizeof_field() macro")
this is one of the last users of the old macro, so replace it.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath11k/wmi.h