Skip to content

Commit f7eab1d

Browse files
committed
drm/msm/gpu: Rename runtime suspend/resume functions
Signed-off-by: Rob Clark <robdclark@chromium.org> Link: https://lore.kernel.org/r/20220310234611.424743-2-robdclark@gmail.com
1 parent 05afd57 commit f7eab1d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/gpu/drm/msm/adreno/adreno_device.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ static const struct of_device_id dt_match[] = {
600600
};
601601

602602
#ifdef CONFIG_PM
603-
static int adreno_resume(struct device *dev)
603+
static int adreno_runtime_resume(struct device *dev)
604604
{
605605
struct msm_gpu *gpu = dev_to_gpu(dev);
606606

@@ -616,7 +616,7 @@ static int active_submits(struct msm_gpu *gpu)
616616
return active_submits;
617617
}
618618

619-
static int adreno_suspend(struct device *dev)
619+
static int adreno_runtime_suspend(struct device *dev)
620620
{
621621
struct msm_gpu *gpu = dev_to_gpu(dev);
622622
int remaining;
@@ -635,7 +635,7 @@ static int adreno_suspend(struct device *dev)
635635

636636
static const struct dev_pm_ops adreno_pm_ops = {
637637
SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume)
638-
SET_RUNTIME_PM_OPS(adreno_suspend, adreno_resume, NULL)
638+
SET_RUNTIME_PM_OPS(adreno_runtime_suspend, adreno_runtime_resume, NULL)
639639
};
640640

641641
static struct platform_driver adreno_driver = {

0 commit comments

Comments
 (0)