[PATCH 4.18+] cpufreq: Use struct kobj_attribute instead of struct global_attr