[PATCH v2 0/2] cpufreq: Add remove callbacks for s5pv210 and SPEAr

Tian Xuechen 202300460064 at mail.sdu.edu.cn
Mon Nov 30 00:27:49 PST 2026


From: Tian Xuechen <202300460064 at mail.sdu.edu.cn>

Clean up the cpufreq drivers and their resources when the S5PV210
and SPEAr platform devices are unbound.

Changes in v2:
- Rebase onto Viresh Kumar's cpufreq/arm/linux-next branch, as suggested
  by Zhongqiu Han.
- Drop S5PV210 probe-error changes already covered by 5850b6ad8f16
  ("cpufreq: s5pv210: Fix resource leaks on probe error paths").
- Keep the S5PV210 policy exit and platform removal cleanup.
- Leave the SPEAr patch unchanged.

Tian Xuechen (2):
  cpufreq: s5pv210: Release resources on platform removal
  cpufreq: spear: Add a platform remove callback

 drivers/cpufreq/s5pv210-cpufreq.c | 39 +++++++++++++++++++++++++------
 drivers/cpufreq/spear-cpufreq.c   |  8 +++++++
 2 files changed, 40 insertions(+), 7 deletions(-)


base-commit: 79ec5dc533d96b2bb56688e518dd2be520448d28



More information about the linux-arm-kernel mailing list