staging: brcm80211: make use of linux error codes in srom.c
authorArend van Spriel <arend@broadcom.com>
Wed, 29 Jun 2011 23:46:29 +0000 (16:46 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Jul 2011 16:57:09 +0000 (09:57 -0700)
commit66671fc120938c740edf8bb8191262fdf893441b
tree535eeb61776e9de9bb2fd3686202cd1c3eb24c51
parentfa0ace7fd3b9cfbe3b2d117af7eac4a132558a1b
staging: brcm80211: make use of linux error codes in srom.c

The source file srom.c used meaningless non-zero numbers to return
upon error conditions. These have been replaced by linux error codes.

Signed-off-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/srom.c