diff options
author | 2024-01-10 01:14:34 +0000 | |
---|---|---|
committer | 2024-01-23 09:38:16 +0100 | |
commit | b5056ecf7cf92b7b38a54f0dbf705c31ca346e23 (patch) | |
tree | fd5459a3d437da87fdbe0bd6861f36e4778ffaaf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 6.8-rc1 (diff) | |
download | wireguard-linux-b5056ecf7cf92b7b38a54f0dbf705c31ca346e23.tar.xz wireguard-linux-b5056ecf7cf92b7b38a54f0dbf705c31ca346e23.zip |
of: Add __of_device_is_status() and makes more generic status check
Linux Kernel has __of_device_is_available() / __of_device_is_fail(),
these are checking if the status was "okay" / "ok" / "fail" / "fail-".
Add more generic __of_device_is_status() function for these.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/87cyuagfba.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions