iwlwifi: use iwl_poll_direct_bit in EEPROM reading
authorZhu, Yi <yi.zhu@intel.com>
Thu, 11 Dec 2008 18:33:36 +0000 (10:33 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 12 Dec 2008 19:45:33 +0000 (14:45 -0500)
commit3d5717ade01ce22511f2992f150bf6644b21c377
tree03d223be4bdd43cad502b59e8d8dc5ddf5873754
parent9c5f89b3f6580cca21dca4ede940900c5b3c3a81
iwlwifi: use iwl_poll_direct_bit in EEPROM reading

The patch replaces the current reading EEPROM loop iterations with
iwl_poll_direct_bit(). It also fixes some comment error.

Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-3945-hw.h
drivers/net/wireless/iwlwifi/iwl-csr.h
drivers/net/wireless/iwlwifi/iwl-eeprom.c
drivers/net/wireless/iwlwifi/iwl-eeprom.h
drivers/net/wireless/iwlwifi/iwl3945-base.c