spi: dw-pci: provide platform specific data via driver_data
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 29 Aug 2014 09:41:42 +0000 (12:41 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 1 Sep 2014 10:29:03 +0000 (11:29 +0100)
commitc95791b6a5c5f18addb41530d1c27c8f5d612d65
treecd71d06d154c67d817d138145a59882c729dbc10
parent35f2d4136477ce2cd684b03e7f1b802963750394
spi: dw-pci: provide platform specific data via driver_data

Instead of checking for device and vendor IDs inside probe function let's
provide a helper function via driver_data.

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