summaryrefslogtreecommitdiff
path: root/drivers/dma/ioat/registers.h
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-03-10 08:47:03 -0600
committerVinod Koul <vkoul@kernel.org>2023-03-17 23:11:42 +0530
commit3765af04f4fda327463e5b631a4a2d62ae7bb93f (patch)
treebe0af64edbf8bd0dfe8bb67b558dda6c09efa0c1 /drivers/dma/ioat/registers.h
parent9f7d4718211a82b2a87ae74d841d6e3938cd5c28 (diff)
dmaengine: 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/20230310144704.1541976-1-robh@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/ioat/registers.h')
0 files changed, 0 insertions, 0 deletions