• Len Brown's avatar
    cpuidle: make cpuidle_curr_driver static · 752138df
    Len Brown authored
    cpuidle_register_driver() sets cpuidle_curr_driver
    cpuidle_unregister_driver() clears cpuidle_curr_driver
    
    We should't expose cpuidle_curr_driver to
    potential modification except via these interfaces.
    So make it static and create cpuidle_get_driver() to observe it.
    Signed-off-by: default avatarLen Brown <len.brown@intel.com>
    752138df
sysfs.c 9.64 KB