diff options
author | 2023-02-09 15:35:01 -0600 | |
---|---|---|
committer | 2023-02-17 15:21:36 -0600 | |
commit | 9cbad37ce8122de32a1529e394b468bc101c9e7f (patch) | |
tree | 94fc6ca764f8bad678effb864a5a3f5c11d3845b /drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c | |
parent | of: reserved_mem: Use proper binary prefix (diff) | |
download | wireguard-linux-9cbad37ce8122de32a1529e394b468bc101c9e7f.tar.xz wireguard-linux-9cbad37ce8122de32a1529e394b468bc101c9e7f.zip |
of: Add of_property_present() helper
Add an of_property_present() function similar to
fwnode_property_present(). of_property_read_bool() could be used
directly, but it is cleaner to not use it on non-boolean properties.
Reviewed-by: Frank Rowand <frowand.list@gmail.com>
Tested-by: Frank Rowand <frowand.list@gmail.com>
Link: https://lore.kernel.org/all/20230215215547.691573-1-robh@kernel.org/
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c')
0 files changed, 0 insertions, 0 deletions