brcmfmac: rework SDIO register access functions
authorArend van Spriel <arend@broadcom.com>
Mon, 6 Jan 2014 11:40:36 +0000 (12:40 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Jan 2014 20:47:58 +0000 (15:47 -0500)
commit71c60cf2e9db4936340e1ef021d42d3e810230c8
tree2ae77ee82e1fd2dc3e7472a71417a202d0c1bec4
parent9d1cd503c7618d2eb00746fa1ebb06a723e108b4
brcmfmac: rework SDIO register access functions

The logic in the SDIO register access functions was hard to
read and contained a lot of conditional code path. This rework
attempts to clean it up.

Reviewed-by: Franky Lin <frankyl@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
drivers/net/wireless/brcm80211/brcmfmac/sdio_host.h