diff options
author | Rob Herring <robh@kernel.org> | 2024-11-04 22:03:13 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-07 20:25:44 +0300 |
commit | fa19f64d6329da2c0389749a17faa2180b0876aa (patch) | |
tree | 894d7fe6e5f3a17b49feb298548b9fd90520a7b3 /net/lapb/lapb_timer.c | |
parent | 625a90b569b776e3600db062c2ff7159633ef412 (diff) | |
download | linux-fa19f64d6329da2c0389749a17faa2180b0876aa.tar.xz |
riscv: cacheinfo: Use of_property_present() for non-boolean properties
commit fb8179ce2996bffaa36a04e2b6262843b01b7565 upstream.
The use of of_property_read_bool() for non-boolean properties is
deprecated in favor of of_property_present() when testing for property
presence.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Clément Léger <cleger@rivosinc.com>
Cc: stable@vger.kernel.org
Fixes: 76d2a0493a17 ("RISC-V: Init and Halt Code")
Link: https://lore.kernel.org/r/20241104190314.270095-1-robh@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions