]> www.infradead.org Git - users/dwmw2/linux.git/commit
gpu: ipu-v3: pre: replace of_node_put() with __free
authorR Sundar <prosunofficial@gmail.com>
Sat, 27 Apr 2024 04:50:24 +0000 (10:20 +0530)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 26 Jun 2024 15:43:46 +0000 (17:43 +0200)
commit81112c6f36b513cdcf2506ffacdb92c7674737f2
treebd1c521cdccf9cc4943368b4caad2d59435d9d44
parent328ab5688f9865d06aa74599f34f5bc51905f9b9
gpu: ipu-v3: pre: replace of_node_put() with __free

use the new cleanup magic to replace of_node_put() with
__free(device_node) marking to auto release when they get out of scope.

Suggested-by: Julia Lawall <julia.lawall@inria.fr>
Signed-off-by: R Sundar <prosunofficial@gmail.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20240427045024.7083-1-prosunofficial@gmail.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20240427045024.7083-1-prosunofficial@gmail.com
drivers/gpu/ipu-v3/ipu-pre.c