brcmfmac: make brcmf_of_probe more generic
authorRafał Miłecki <rafal@milecki.pl>
Sat, 7 Jan 2017 22:43:45 +0000 (23:43 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 19 Jan 2017 12:45:13 +0000 (14:45 +0200)
commite457a8a01a19277e96830d3d95887e0e3c1e2f26
tree42a7b1090eaca0923f75435328046e3b04e011b7
parent259010c509b6f28b3b851ae45238cf526f52e185
brcmfmac: make brcmf_of_probe more generic

We may want to use Open Firmware for other devices than just SDIO ones.
In future we may want to support more Broadcom properties so there is
really no reason for such limitation.

Call brcmf_of_probe for all kind of devices & move extra conditions to
the body of that funcion.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.h