diff options
author | Rob Herring <robh@kernel.org> | 2023-03-10 17:47:35 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2023-03-13 01:33:43 +0300 |
commit | 83425c835e7dea49576aaac5fd4bff9b38ee0c32 (patch) | |
tree | cd32aace115c4099b27d2db37315d58e9a8c13e4 /tools/perf/scripts/python/task-analyzer.py | |
parent | ef6d10568ca9ca622a867e5d059982251bbccd6b (diff) | |
download | linux-83425c835e7dea49576aaac5fd4bff9b38ee0c32.tar.xz |
power: supply: charger-manager: 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>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions