diff options
author | Jon Hunter <jonathanh@nvidia.com> | 2025-01-16 15:38:29 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-17 12:39:42 +0100 |
commit | 983e375849fe4fd987cab94d940ba2af6f9e7a71 (patch) | |
tree | 6355576ca2e4572874bff124f40ead97cb28260b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | eb124822186be8ea433f568e92cc3bfbf6117a30 (diff) |
usb: xhci: tegra: Fix OF boolean read warning
After commit c141ecc3cecd ("of: Warn when of_property_read_bool() is
used on non-boolean properties") was added, the following warning is
observed for the Tegra XHCI driver ...
OF: /bus@0/usb@3610000: Read of boolean property 'power-domains' with
a value.
Previously, of_property_read_bool() was used to determine if a property
was present but has now been replaced by of_property_present(). The
warning is meant to prevent new users but this user existed before the
change was made. Fix this by updating the Tegra XHCI driver to use
of_property_present() function to determine if the 'power-domains'
property is present.
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20250116153829.477360-1-jonathanh@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions