aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2020-07-11 23:01:50 +0200
committerKalle Valo <[email protected]>2020-07-14 12:51:22 +0300
commitb424808115cb0141da851082d84ede20caa2215c (patch)
tree899af743c2a6fbea305c2bd88a26af48f08427e1 /tools
parent29e354ebeeecaee979e6fe22cd6272682d7552c9 (diff)
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 <[email protected]> Cc: Frank Kao <[email protected]> Cc: Kalle Valo <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions