diff options
author | Rob Herring <robh@kernel.org> | 2023-03-10 08:47:27 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-16 13:02:14 +0100 |
commit | 822a729af4aeb451a84863ac565bdad6f64e407e (patch) | |
tree | 94ff985f7e9c92cb39bf84ce8fd586917136ca6b /certs | |
parent | ef194140308776be60dd4601bd01c00c84fb8b39 (diff) |
serial: 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>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20230310144727.1545699-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions