spi: pxa2xx: Convert pxa2xx_spi_get_port_id() to take struct device
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 18 Oct 2019 10:54:27 +0000 (13:54 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 18 Oct 2019 17:25:29 +0000 (18:25 +0100)
commit365e856e18b88e360388f9de4f5da0d5b332114b
tree55209701a88482ecf9ccb16eb9ce4f4774056aeb
parent5ce2570513bc012020e1faaa20333a6955845f06
spi: pxa2xx: Convert pxa2xx_spi_get_port_id() to take struct device

This is preparatory patch before converting to use device_get_match_data() API.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20191018105429.82782-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c