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