linux_dsm_epyc7002/drivers/net/wireless/broadcom/brcm80211
Linus Walleij b424808115 brcm80211: brcmsmac: Move LEDs to GPIO descriptors
The code in the BRCM80211 BRCMSMAC driver is using the legacy
GPIO API to to a complex check of the validity of the base of
the GPIO chip and whether it is present at all and then adding
an offset to the base of the chip.

Use the existing function to obtain a GPIO line internally
from a GPIO chip so we can use the offset directly and
modernize the code to use GPIO descriptors instead of integers
from the global GPIO numberspace.

Cc: Wright Feng <wright.feng@cypress.com>
Cc: Frank Kao <frank.kao@cypress.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200711210150.4943-1-linus.walleij@linaro.org
2020-07-14 12:51:22 +03:00
..
brcmfmac brcmfmac: Transform compatible string for FW loading 2020-07-14 12:50:43 +03:00
brcmsmac brcm80211: brcmsmac: Move LEDs to GPIO descriptors 2020-07-14 12:51:22 +03:00
brcmutil brcmutil: switch source files to using SPDX license identifier 2019-05-28 15:24:10 +03:00
include brcmfmac: add the BRCM 4364 found in MacBook Pro 15,2 2020-02-12 18:12:51 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile brcmfmac: switch source files to using SPDX license identifier 2019-05-28 15:24:12 +03:00