diff options
| author | Rob Herring <[email protected]> | 2023-03-10 08:47:21 -0600 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2023-03-11 12:13:38 +0000 |
| commit | 7dda20c97fac52948b948e15e1173ee57c66ed35 (patch) | |
| tree | 79d21149869276b9fa9eb85ca83ae5fe1264894c /drivers/platform/surface/aggregator/ssh_parser.c | |
| parent | 4eb6678ab53cac74e71fc5d4e6ff4035e5c847b6 (diff) | |
regulator: Use of_property_present() for testing DT property presence
It is preferred to use typed property access functions (i.e.
of_property_read_<type> functions) rather than low-level
of_get_property/of_find_property functions for reading properties. As
part of this, convert of_get_property/of_find_property calls to the
recently added of_property_present() helper when we just want to test
for presence of a property and nothing more.
Signed-off-by: Rob Herring <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions