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)
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>

No differences found