staging: brcm80211: move driver variable functions to srom.c
authorArend van Spriel <arend@broadcom.com>
Wed, 5 Oct 2011 13:30:44 +0000 (15:30 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 5 Oct 2011 20:42:49 +0000 (13:42 -0700)
commit03c74dada5bf59393d59a3e4bfc44db198f556c6
treefdd89973430277c1a40e570d78ba7619fcd56f96
parentd0f5527d3949db767425dc84f0e8547824b74708
staging: brcm80211: move driver variable functions to srom.c

The driver uses variables which are stored in string format. Using
strings as variable identifiers is disliked by the community. The
driver has been cleaned up and the only module providing these
variables is srom.c. The variable retrieval functions have been
moved to srom.c in preparation of a more likable way to store and
lookup these driver variables.

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Alwin Beukers <alwin@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/main.c
drivers/staging/brcm80211/brcmsmac/srom.c