[PATCH 5.10 054/317] cpufreq: Rearrange locking in cpufreq_remove_dev()