gaurav jindal 3cfd68b5ba cpuidle: Avoid NULL argument in cpuidle_switch_governor()
Checks if the new governor is NULL before updating the
cupidle_curr_governor.

Signed-off-by: gaurav jindal <gauravjindal1104@gmail.com>
[ rjw : Subject ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2018-01-05 14:01:30 +01:00
..
2017-11-03 09:02:30 -07:00
2017-11-16 12:47:46 -08:00
2017-09-04 00:06:02 +02:00