diff options
author | 2023-03-14 10:41:17 -0500 | |
---|---|---|
committer | 2023-03-15 10:43:08 +0100 | |
commit | 5b0ad5b24327d44b8307e822d160a3d48a70e87c (patch) | |
tree | 3044c973e9bfc56f36984792d98999ca6e33c306 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpiolib: Get rid of devprop prefix in one function (diff) | |
download | wireguard-linux-5b0ad5b24327d44b8307e822d160a3d48a70e87c.tar.xz wireguard-linux-5b0ad5b24327d44b8307e822d160a3d48a70e87c.zip |
gpio: 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: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions