2013/8/26 Rafael J. Wysocki rjw@sisk.pl:
On Monday, August 26, 2013 08:00:52 PM Viresh Kumar wrote:
Hi Rafael,
Hi,
I am almost done with cleanup of drivers and am back at cpufreq core.. :) I got to this structure: struct cpufreq_real_policy;
And I am not able to understand what's the need for this structure? Can you let me know? Before I try to get rid of it :)
Honestly, I don't remember from the top of my head.
So far as I know, it stores some user's config and cpufreq_update_policy() bases on the data in the struct to start a new policy. Cpu thermal driver (/driver/thermal/cpu_cooling.c)also will its value to update freq policy when receive a cpufreq policy adjust notification.
Thanks, Rafael
-- To unsubscribe from this list: send the line "unsubscribe cpufreq" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html