linux/drivers/devfreq
Leonard Crestez ac57e16058 PM / devfreq: Check NULL governor in available_governors_show
commit d68adc8f85 upstream.

The governor is initialized after sysfs attributes become visible so in
theory the governor field can be NULL here.

Fixes: bcf23c79c4 ("PM / devfreq: Fix available_governor sysfs")
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-09 10:19:03 +01:00
..
event
devfreq-event.c
devfreq.c PM / devfreq: Check NULL governor in available_governors_show 2020-01-09 10:19:03 +01:00
exynos-bus.c
governor_passive.c PM / devfreq: passive: fix compiler warning 2019-10-05 13:09:59 +02:00
governor_performance.c
governor_powersave.c
governor_simpleondemand.c
governor_userspace.c
governor.h
Kconfig
Makefile
rk3399_dmc.c
tegra-devfreq.c PM / devfreq: tegra: Fix kHz to Hz conversion 2019-10-11 18:20:46 +02:00