diff options
author | Leonard Crestez <[email protected]> | 2019-09-24 10:26:53 +0300 |
---|---|---|
committer | Chanwoo Choi <[email protected]> | 2019-11-06 12:03:59 +0900 |
commit | d68adc8f85cd757bd33c8d7b2660ad6f16f7f3dc (patch) | |
tree | a6e3df4b4769af757083cda3a3e2fc9b79598b56 /scripts | |
parent | 36eba5deffac3793372ebad4899591103aa3a947 (diff) |
PM / devfreq: Check NULL governor in available_governors_show
The governor is initialized after sysfs attributes become visible so in
theory the governor field can be NULL here.
Fixes: bcf23c79c4e46 ("PM / devfreq: Fix available_governor sysfs")
Signed-off-by: Leonard Crestez <[email protected]>
Reviewed-by: Matthias Kaehlcke <[email protected]>
Reviewed-by: Chanwoo Choi <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions