bcma: cleanup comments
[linux-2.6-block.git] / drivers / bcma / driver_pci_host.c
index 6f8fc5f587fe151f88743a2bc808a6268ca012e3..aa0581cda71855cdc1321a10b6dc353616e9cab1 100644 (file)
@@ -61,7 +61,7 @@ static u32 bcma_get_cfgspace_addr(struct bcma_drv_pci *pc, unsigned int dev,
 {
        u32 addr = 0;
 
-       /* Issue config commands only when the data link is up (atleast
+       /* Issue config commands only when the data link is up (at least
         * one external pcie device is present).
         */
        if (dev >= 2 || !(bcma_pcie_read(pc, BCMA_CORE_PCI_DLLP_LSREG)
@@ -295,7 +295,7 @@ static u8 bcma_find_pci_capability(struct bcma_drv_pci *pc, unsigned int dev,
        if (cap_ptr == 0x00)
                return cap_ptr;
 
-       /* loop thr'u the capability list and see if the requested capabilty
+       /* loop through the capability list and see if the requested capability
         * exists */
        bcma_extpci_read_config(pc, dev, func, cap_ptr, &cap_id, sizeof(u8));
        while (cap_id != req_cap_id) {
@@ -317,7 +317,7 @@ static u8 bcma_find_pci_capability(struct bcma_drv_pci *pc, unsigned int dev,
 
                *buflen = 0;
 
-               /* copy the cpability data excluding cap ID and next ptr */
+               /* copy the capability data excluding cap ID and next ptr */
                cap_data = cap_ptr + 2;
                if ((bufsize + cap_data)  > PCI_CONFIG_SPACE_SIZE)
                        bufsize = PCI_CONFIG_SPACE_SIZE - cap_data;