mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-08-19 22:21:01 +00:00
devfreq governor code calls the devfreq profile's callback get_dev_status to return the device status. Not all devices implement this optional callback. Hence check if the callback is present before accessing it. Change-Id: I8fe8ff367ccdcb82ad686e47186258c4cd086696 Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org> Signed-off-by: Rama Aparna Mallavarapu <aparnam@codeaurora.org>