]> git.karo-electronics.de Git - linux-beck.git/commit
spi: fsl-espi: replace of_get_property with of_property_read_u32
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 1 Oct 2016 19:07:52 +0000 (21:07 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 21 Oct 2016 11:09:37 +0000 (12:09 +0100)
commitb497eb024531b712f9d2c6af0bb55ca558a2674e
tree03a8d2f74a9368d8dcf66078a766051268ec2df4
parent1001354ca34179f3db924eb66672442a173147dc
spi: fsl-espi: replace of_get_property with of_property_read_u32

of_property_read_u32 is better here than generic of_get_property:
- implicit endianness conversion if needed
- implicit checking of size of property

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-espi.c