[PATCH v2 2/3] drm/msm/gpu: Fix check for devices without devfreq