spi: pxa2xx: Convert to use device_get_match_data()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 18 Oct 2019 10:54:28 +0000 (13:54 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 18 Oct 2019 17:25:49 +0000 (18:25 +0100)
commitf2faa3ec79ac11db8c26b10f8c978d4d0f7392dd
tree8f0aa65cd48f67e06efc5d11fc82fb2458d533a8
parent365e856e18b88e360388f9de4f5da0d5b332114b
spi: pxa2xx: Convert to use device_get_match_data()

Convert to use device_get_match_data() instead of open coded variant.

While here, switch of_property_read_bool() to device_property_read_bool().

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