]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: ath9k: ahb: reorder declarations
authorRosen Penev <rosenp@gmail.com>
Mon, 9 Jun 2025 03:08:47 +0000 (20:08 -0700)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Thu, 26 Jun 2025 23:10:43 +0000 (16:10 -0700)
commit5cbfef9039f61691c87f522f8761d628033bc392
tree206c8f46f3b0c4f53876be21c7e910287426ae6c
parent28aa52b6189f1cc409f96910c63fa1b99370b99e
wifi: ath9k: ahb: reorder declarations

Easier to look at. Follows netdev style.

Also remove ret assignment. Because of all of these devm conversions,
ret = 0 is a path that never gets hit. The first time it does it when
request_irq fails, but that ends up reassigning it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Link: https://patch.msgid.link/20250609030851.17739-2-rosenp@gmail.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath9k/ahb.c