1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac
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
..
phy brcmsmac: Use DIV_ROUND_CLOSEST directly to make it readable 2019-09-13 16:45:17 +03:00
aiutils.c
aiutils.h
ampdu.c
ampdu.h
antsel.c
antsel.h
brcms_trace_brcmsmac.h
brcms_trace_brcmsmac_msg.h
brcms_trace_brcmsmac_tx.h
brcms_trace_events.c
brcms_trace_events.h
channel.c brcmsmac: remove duplicated if condition 2019-10-01 12:14:46 +03:00
channel.h
d11.h
debug.c brcmsmac: no need to check return value of debugfs_create functions 2019-02-01 14:37:28 +02:00
debug.h brcmsmac: no need to check return value of debugfs_create functions 2019-02-01 14:37:28 +02:00
dma.c brcmsmac: Free packet if dma_mapping_error() fails in dma_rxfill 2016-07-19 21:14:20 +03:00
dma.h
led.c brcm80211: brcmsmac: Move LEDs to GPIO descriptors 2020-07-14 12:51:22 +03:00
led.h brcm80211: brcmsmac: Move LEDs to GPIO descriptors 2020-07-14 12:51:22 +03:00
mac80211_if.c brcmsmac: Add missing annotation for brcms_down() 2020-04-15 11:44:35 +03:00
mac80211_if.h
main.c brcmsmac: remove Comparison to bool in brcms_b_txstatus() 2020-05-06 11:41:46 +03:00
main.h brcmsmac: AP mode: update beacon when TIM changes 2018-10-13 20:00:42 +03:00
Makefile wireless: prefix header search paths with $(srctree)/ 2019-02-01 14:42:25 +02:00
phy_shim.c
phy_shim.h
pmu.c
pmu.h
pub.h
rate.c
rate.h
scb.h
stf.c brcmsmac: make brcms_c_stf_ss_update() void 2020-04-15 11:47:41 +03:00
stf.h brcmsmac: make brcms_c_stf_ss_update() void 2020-04-15 11:47:41 +03:00
types.h
ucode_loader.c
ucode_loader.h