spi: dw-pci: apply pci_bar and re-use pci_name
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 29 Aug 2014 09:41:40 +0000 (12:41 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 1 Sep 2014 10:29:02 +0000 (11:29 +0100)
commitceb86de9d6dae58b66ae10e7533ff2d3d8c7bbae
treef6b655aeb8cb3663704ba963741b39fd8cb010a5
parentfcf0af445bfdb617993af352ee442471aeca1073
spi: dw-pci: apply pci_bar and re-use pci_name

Nevertheless pci_bar is 0 let's explicitly use it when map IO regions. While
here, use pci_name instead of dev_name.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-pci.c