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: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: NMark Brown <broonie@kernel.org>
Showing
想要评论请 注册 或 登录