From 221bc77914cbcccaac1918ba80dce807452e143d Mon Sep 17 00:00:00 2001 From: Steven Price Date: Fri, 25 Oct 2019 14:41:42 +0100 Subject: drm/panfrost: Use generic code for devfreq Use dev_pm_opp_set_rate() instead of open coding the devfreq integration, simplifying the code. Reviewed-by: Mark Brown Reviewed-by: Tomeu Vizoso Acked-by: Alyssa Rosenzweig Signed-off-by: Steven Price Signed-off-by: Rob Herring Link: https://patchwork.freedesktop.org/patch/msgid/20191025134143.14324-2-steven.price@arm.com --- drivers/gpu/drm/panfrost/panfrost_device.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/gpu/drm/panfrost/panfrost_device.h') diff --git a/drivers/gpu/drm/panfrost/panfrost_device.h b/drivers/gpu/drm/panfrost/panfrost_device.h index 9c39b9794811..72628f055197 100644 --- a/drivers/gpu/drm/panfrost/panfrost_device.h +++ b/drivers/gpu/drm/panfrost/panfrost_device.h @@ -93,8 +93,6 @@ struct panfrost_device { struct { struct devfreq *devfreq; struct thermal_cooling_device *cooling; - unsigned long cur_freq; - unsigned long cur_volt; struct panfrost_devfreq_slot slot[NUM_JOB_SLOTS]; } devfreq; }; -- cgit v1.2.3