PCI: use resource_size() everywhere.
authorZhao, Yu <yu.zhao@intel.com>
Mon, 13 Oct 2008 11:24:28 +0000 (19:24 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 20 Oct 2008 17:54:28 +0000 (10:54 -0700)
commit022edd86d7c864bc8fadc3c8ac4e6a464472ab05
tree6495a6f473837f1c880c052d76ff9358de76297d
parentc322b28a04c084a467a862766f74c40c917a721c
PCI: use resource_size() everywhere.

This is a cleanup that replaces the resource calculation formula with
resource_size().

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/setup-bus.c
drivers/pci/setup-res.c