iwlagn: simplify ucode check code
authorJohannes Berg <johannes.berg@intel.com>
Tue, 5 Apr 2011 16:41:55 +0000 (09:41 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Apr 2011 19:51:36 +0000 (15:51 -0400)
commitfb66216f9ebb146ad457829fcb62ae8f4348cda2
treeb2c165d6d4e0b30d8d276aa05dcc6eefa2446587
parent36127db02ec17828c1582bb6bc1f12160fd35d64
iwlagn: simplify ucode check code

The code in iwlcore_verify_inst_sparse really
doesn't need to keep track of the number of
errors it encountered since a single one is
fatal.

Also, the code in iwl_verify_inst_full is just
used to print out some things, so rename it to
iwl_print_inst and don't give it a return code
and just make it print out the values.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-ucode.c