]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit09935ab78fffe74f124a30c921ebc74cf822de58
tree8f0aa65cd48f67e06efc5d11fc82fb2458d533a8
parent98bfc12546a0fd5d7e2d4364f0beb81738595d2e
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