[PATCH v2] cpufreq: mediatek: Fix resource leaks on mtk_cpu_create_freq_table() failure
From: Riyan Dhiman
Date: Tue Oct 01 2024 - 07:29:43 EST
> Since this driver already uses devm_* APIs, what about using them
> instead ?
Since ioremap was called that's why I added a goto statement to handle
the cleanup.
In this file, devm_kzalloc and devm_regulator_get are called. Do I need
to call this devm_platform_ioremap_resource instead of ioremap if devm_*
api need to be used?
Regards,
Riyan Dhiman