Fix common misspellings
[linux-2.6-block.git] / drivers / net / atlx / atl2.c
index 4e6f4e95a5a03342320ee24cbe70bfa1365c7b3a..f46ee4546fdcfc2eef607a702e4ce7b2a7bea47a 100644 (file)
@@ -93,8 +93,8 @@ static int __devinit atl2_sw_init(struct atl2_adapter *adapter)
        hw->device_id = pdev->device;
        hw->subsystem_vendor_id = pdev->subsystem_vendor;
        hw->subsystem_id = pdev->subsystem_device;
+       hw->revision_id  = pdev->revision;
 
-       pci_read_config_byte(pdev, PCI_REVISION_ID, &hw->revision_id);
        pci_read_config_word(pdev, PCI_COMMAND, &hw->pci_cmd_word);
 
        adapter->wol = 0;
@@ -1701,7 +1701,7 @@ static struct pci_driver atl2_driver = {
        .id_table = atl2_pci_tbl,
        .probe    = atl2_probe,
        .remove   = __devexit_p(atl2_remove),
-       /* Power Managment Hooks */
+       /* Power Management Hooks */
        .suspend  = atl2_suspend,
 #ifdef CONFIG_PM
        .resume   = atl2_resume,