diff options
author | Rob Herring <robh@kernel.org> | 2023-03-10 17:47:31 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-03-16 19:12:53 +0300 |
commit | fb200218b40b7864f64f1a47de61e035d8934e92 (patch) | |
tree | 1f53ca9b010876c1dc6dc7642feecca93f1a762c /tools/perf/scripts/python/sctop.py | |
parent | 796bf946c42644b047c5ad5575906ff9c397fbda (diff) | |
download | linux-fb200218b40b7864f64f1a47de61e035d8934e92.tar.xz |
backlight: as3711: 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>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230310144731.1546190-1-robh@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions