diff options
author | 2025-01-09 12:20:52 -0600 | |
---|---|---|
committer | 2025-01-10 16:07:50 +0100 | |
commit | ac753e1f38a114cf9e46b9824f43d09cb637f43d (patch) | |
tree | 29b33f5f32a3e2107857f8f76f509a0039625838 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | serial: sc16is7xx: Add polling mode if no IRQ pin is available (diff) | |
download | linux-rng-ac753e1f38a114cf9e46b9824f43d09cb637f43d.tar.xz linux-rng-ac753e1f38a114cf9e46b9824f43d09cb637f43d.zip |
tty: atmel_serial: Use of_property_present() for non-boolean properties
The use of of_property_read_bool() for non-boolean properties is
deprecated in favor of of_property_present() when testing for property
presence.
As of_property_present() returns a boolean, use that directly
and simplify the code a bit while we're here.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Richard Genoud <richard.genoud@bootlin.com>
Reviewed-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20250109182053.3970547-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions