cpufreq: Separate CPU device registration from CPU online
To separate the CPU online interface from the CPU device registration, split cpufreq_online() out of cpufreq_add_dev() and make cpufreq_cpu_callback() call the former, while cpufreq_add_dev() itself will only be used as the CPU device addition subsystem interface callback. Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com> Suggested-by: NRussell King <linux@arm.linux.org.uk> Acked-by: NViresh Kumar <viresh.kumar@linaro.org>
Showing
想要评论请 注册 或 登录