iwlwifi: rs-4965 fix return values
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 25 Oct 2007 09:15:25 +0000 (17:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:03:09 +0000 (15:03 -0800)
commitdc2453ae81785f7e4f48485013b89df0a951421e
treebe280b8dd7c6b0c2c565054aa43cd01d0a925e83
parentfc4b6853fb5e729616159d4f17785f089227a8e8
iwlwifi: rs-4965 fix return values

This patch cleans up style of 'return' of rate scale 4965 functions.
It renames return name variables rc to ret, change functions to void if no
meaningful value was returned it add return of -EINVAL for checks of wrong
arguments.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-4965-rs.c