• Rafael J. Wysocki's avatar
    cpufreq: intel_pstate: Initialize pid_params statically · 5c439053
    Rafael J. Wysocki authored
    Notice that both the existing struct cpu_defaults instances in which
    PID parameters are actually initialized use the same values of those
    parameters, so it is not really necessary to copy them over to
    pid_params dynamically.
    
    Instead, initialize pid_params statically with those values and
    drop the unused pid_policy member from struct cpu_defaults along
    with copy_pid_params() used for initializing it.
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    5c439053
intel_pstate.c 65.2 KB