diff options
| author | Rob Herring <robh@kernel.org> | 2023-03-10 17:47:07 +0300 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2023-04-19 17:08:31 +0300 |
| commit | 50c3480b6db859ce2c5f524eedb74973342455d0 (patch) | |
| tree | 362c9efe14a2fcff8ddc253e49c67b03b7fe231d /scripts/patch-kernel | |
| parent | 08d40c1d57b7127cfdebbc0648b57d54e38f2ba7 (diff) | |
| download | linux-50c3480b6db859ce2c5f524eedb74973342455d0.tar.xz | |
hwmon: (ltc4245) 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 of_property_read_bool().
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230310144707.1542525-1-robh@kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
