wifi: rtw89: manual cosmetic along lockdep_assert_wiphy()

With spatch script, already remove most driver mutex and generate
lockdep_assert_wiphy(), and some are needed to refine manually further to
be expected:

- lockdep_assert_wiphy() always be the first statement in function
- return directly rather than unnecessary goto
- change assert from mutex to wiphy lock, which script can't convert
  automatically.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250122060310.31976-9-pkshih@realtek.com
This commit is contained in:
Ping-Ke Shih 2025-01-22 14:03:08 +08:00
commit ed114a7ac6
12 changed files with 112 additions and 141 deletions