brcmfmac: Rename / replace old IO functions with simpler ones.
authorIan Molton <ian@mnementh.co.uk>
Fri, 8 Dec 2017 12:10:29 +0000 (13:10 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 14 Dec 2017 12:41:00 +0000 (14:41 +0200)
commit71bd508d7ded8c504ef05d1b4befecfe25e54cb1
tree49cf449a0d955583ab78d0c02a32ca36bdecdff4
parenta7323378dcf1f10a98f47b744e6f65e6fd671d84
brcmfmac: Rename / replace old IO functions with simpler ones.

Primarily this patch removes:

brcmf_sdiod_f0_writeb()
brcmf_sdiod_reg_write()
brcmf_sdiod_reg_read()

Since we no longer use the quirky method of deciding which function to
address via the address being accessed, take the opportunity to rename
some IO functions more in line with common kernel code. We also convert
those that map directly to sdio_{read,write}*() to macros.

Signed-off-by: Ian Molton <ian@mnementh.co.uk>
Reviewed-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.h