]> git.ipfire.org Git - thirdparty/linux.git/commit
dma: dma-axi-dmac: simplify axi_dmac_parse_dt()
authorNuno Sá <nuno.sa@analog.com>
Tue, 4 Nov 2025 16:22:28 +0000 (16:22 +0000)
committerVinod Koul <vkoul@kernel.org>
Tue, 23 Dec 2025 11:13:15 +0000 (16:43 +0530)
commitc23918bedc74a7809e6fa2fd1d09b860625a90b8
tree20336b09826502641688134c9004055479a6aecd
parentb2440442ccb68479fa6d307917419983f3c87e83
dma: dma-axi-dmac: simplify axi_dmac_parse_dt()

Simplify axi_dmac_parse_dt() by using the cleanup device_node class for
automatically releasing the of_node reference when going out of scope.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
base-commit: 398035178503bf662281bbffb4bebce1460a4bc5
change-id: 20251104-axi-dmac-fixes-and-improvs-e3ad512a329c
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Link: https://patch.msgid.link/20251104-axi-dmac-fixes-and-improvs-v1-4-3e6fd9328f72@analog.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dma-axi-dmac.c