summaryrefslogtreecommitdiff
path: root/drivers/atm/adummy.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-03-10 08:47:33 -0600
committerTakashi Iwai <tiwai@suse.de>2023-04-19 08:25:57 +0200
commitd42c521ff4c9824e81c13d5fe1af947c1c652669 (patch)
tree015df314e179668c1e164b099599a3cda13563f8 /drivers/atm/adummy.c
parentf609bf6b21951569036d23cf66a1317d066ef9ed (diff)
ALSA: ppc/tumbler: 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 <robh@kernel.org> Link: https://lore.kernel.org/r/20230310144733.1546500-1-robh@kernel.org Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/atm/adummy.c')
0 files changed, 0 insertions, 0 deletions