[PATCH 5.4 038/202] cpufreq: Rearrange locking in cpufreq_remove_dev()