Searched hist:"03 adaa404a2c8f9ae0528eb963e86a962a3a2f39" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/spi/ |
H A D | spi-omap2-mcspi.c | diff 03adaa404a2c8f9ae0528eb963e86a962a3a2f39 Fri Mar 10 15:47:36 CET 2023 Rob Herring <robh@kernel.org> spi: omap2-mcspi: Use of_property_read_bool() for boolean properties
It is preferred to use typed property access functions (i.e. of_property_read_<type> functions) rather than low-level of_get_property/of_find_property functions for reading properties. Convert reading boolean properties to to of_property_read_bool().
Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230310144736.1547110-1-robh@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
|