]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq: sun50i: replace of_node_put() with automatic cleanup handler
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Fri, 3 May 2024 17:52:33 +0000 (19:52 +0200)
committerViresh Kumar <viresh.kumar@linaro.org>
Tue, 28 May 2024 04:01:09 +0000 (09:31 +0530)
commitfa8036e5fed21d871aef23092990bfbaddc521d5
tree01f0e3396b800f092a1b27879a37ec5451ae3bed
parent6282fba6abd7c3c8896c239cc8aa9ec45edcb97b
cpufreq: sun50i: replace of_node_put() with automatic cleanup handler

Make use of the __free() cleanup handler to automatically free nodes
when they get out of scope.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/sun50i-cpufreq-nvmem.c