pci: Correct a few comments and nits

Two comments are missing a parameter and there is an extra blank line. Also
two of the region access macros are misnamed. Correct these problems.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
Simon Glass
2016-03-06 19:27:53 -07:00
committed by Bin Meng
parent 319dba1f4d
commit 4974a6ff04
2 changed files with 4 additions and 3 deletions
-1
View File
@@ -289,7 +289,6 @@ int dm_pci_write_config(struct udevice *dev, int offset, unsigned long value,
size);
}
int pci_write_config32(pci_dev_t bdf, int offset, u32 value)
{
return pci_write_config(bdf, offset, value, PCI_SIZE_32);