]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: ath10k: remove gpio number assignment
authorArnd Bergmann <arnd@arndb.de>
Fri, 8 Aug 2025 15:18:00 +0000 (17:18 +0200)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Thu, 18 Sep 2025 23:43:48 +0000 (16:43 -0700)
commit5b345471752701ccfcfa6e86e15d2cebc6e17343
treed148f9d76cdc6580b99435cc6c01d2e73f29adec
parent2418fcf2006804425c12d85479b9ad17c4db5e90
wifi: ath10k: remove gpio number assignment

The leds-gpio traditionally takes a global gpio number in its platform
data, but the number assigned here is not actually such a number but
only meant to be used internally to this driver.

As part of the kernel-wide cleanup of the old gpiolib interfaces, the
'gpio' number field is going away, so to keep ath10k building, move
the assignment into a private structure instead.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Link: https://patch.msgid.link/20250808151822.536879-17-arnd@kernel.org
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath10k/leds.c