spi: use of_property_read_bool()
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sun, 6 Aug 2017 20:15:31 +0000 (23:15 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 7 Aug 2017 11:49:00 +0000 (12:49 +0100)
commite0bcb680b152c96ee4b561abbeb18743cdcc5ae3
tree8c9d132f4f9c5035454dd99bae9682d659594dc7
parent2856670f23a92ab72db850d73f30c0b4b6ba5a76
spi: use of_property_read_bool()

Use a bit more compact of_property_read_bool() calls instead of the
of_find_property() calls -- symmetrically with the of_property_read_u32()
calls already done in of_spi_parse_dt().

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c