Skip to content
Commit fa8036e5 authored by Javier Carrasco's avatar Javier Carrasco Committed by Viresh Kumar
Browse files

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: default avatarJavier Carrasco <javier.carrasco.cruz@gmail.com>
Reviewed-by: default avatarAndre Przywara <andre.przywara@arm.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 6282fba6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment