[PATCH 0/6] OPP: Scope based cleanup helpers and lock guards
From: Viresh Kumar
Date: Thu Apr 24 2025 - 06:39:46 EST
Hello,
This series performs various cleanups / optimizations for the OPP core.
- Introduce and use scope based cleanup headers
- Use mutex locking guards
No intentional functional impact.
--
Viresh
Viresh Kumar (6):
OPP: Remove _get_opp_table_kref()
OPP: Return opp from dev_pm_opp_get()
OPP: Return opp_table from dev_pm_opp_get_opp_table_ref()
OPP: Use scope-based OF cleanup helpers
OPP: Define and use scope-based cleanup helpers
OPP: Use mutex locking guards
drivers/opp/core.c | 426 ++++++++++++++---------------------------
drivers/opp/cpu.c | 30 +--
drivers/opp/of.c | 205 +++++++-------------
drivers/opp/opp.h | 1 -
include/linux/pm_opp.h | 21 +-
5 files changed, 249 insertions(+), 434 deletions(-)
--
2.31.1.272.g89b43f80a514