diff options
author | Yu Zhao <yu.zhao@intel.com> | 2008-11-21 13:38:52 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-01-07 14:13:00 -0500 |
commit | 14add80b5120966fe0659d61815b9e9b4b68fdc5 (patch) | |
tree | 7f803ec36d14e76fb0bc672717bd0dd3dea30a08 /drivers/pci/pci.c | |
parent | 6a49d8120021897e139641062236215aac5d220e (diff) |
PCI: remove unnecessary arg of pci_update_resource()
This cleanup removes unnecessary argument 'struct resource *res' in
pci_update_resource(), so it takes same arguments as other companion
functions (pci_assign_resource(), etc.).
Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r-- | drivers/pci/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 9354dd63f035..c3ef2e78fc58 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -393,8 +393,8 @@ pci_restore_bars(struct pci_dev *dev) | |||
393 | return; | 393 | return; |
394 | } | 394 | } |
395 | 395 | ||
396 | for (i = 0; i < numres; i ++) | 396 | for (i = 0; i < numres; i++) |
397 | pci_update_resource(dev, &dev->resource[i], i); | 397 | pci_update_resource(dev, i); |
398 | } | 398 | } |
399 | 399 | ||
400 | static struct pci_platform_pm_ops *pci_platform_pm; | 400 | static struct pci_platform_pm_ops *pci_platform_pm; |