staging: brcm80211: cleaned up fullmac macro BRCMF_PM_RESUME_RETURN_ERROR
authorRoland Vossen <rvossen@broadcom.com>
Thu, 1 Sep 2011 09:17:01 +0000 (11:17 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Sep 2011 23:38:50 +0000 (16:38 -0700)
commit72a4915f9b503fefdd18e62bf9baad14ee08d759
treeaac55cfbd31851242cc0402013d697018668ba16
parent2682e2a34503890f92ce4564dcfba43ba70bad00
staging: brcm80211: cleaned up fullmac macro BRCMF_PM_RESUME_RETURN_ERROR

Macros impacting the code flow are sort of frowned upon. No other macro's
in the source code impact the code flow. Replaced macro by function.

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Franky Lin <frankyl@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c