spi: oc-tiny: Use of_property_read_u32 instead of open-coding it
authorTobias Klauser <tklauser@distanz.ch>
Wed, 9 Sep 2015 11:55:53 +0000 (13:55 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 16 Sep 2015 18:16:01 +0000 (19:16 +0100)
commit45a3e771085d16c95eb54f8009d795941b21fb28
treefe045c8d7c666ffda951fb3b17323444a05bb991
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
spi: oc-tiny: Use of_property_read_u32 instead of open-coding it

Use of_property_read_u32 instead of of_get_property with return value
checks and endianness conversion.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-oc-tiny.c