]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit41d02bec9e86317b264c5adf20f0e1eca34a52de
tree55209701a88482ecf9ccb16eb9ce4f4774056aeb
parent8de175fc4801b6cbde3b2d38be9d13f4c0da2bdc
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