diff options
author | Hans de Goede <hdegoede@redhat.com> | 2022-09-09 14:56:46 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-09-17 16:20:40 +0300 |
commit | 74f481f187ce8b37ec5143cee19147da5243009c (patch) | |
tree | 34de4aa4993fc70aa6846627c373f7fd58f74701 /drivers/gpu/drm/gma500/power.h | |
parent | 672c473576ca5c9f5a40ac848c938e6898a5aac8 (diff) | |
download | linux-74f481f187ce8b37ec5143cee19147da5243009c.tar.xz |
drm/gma500: Remove unnecessary suspend/resume wrappers
The psb_runtime_suspend/resume/thaw/freeze/restore functions are all
just 1:1 wrappers around gma_power_suspend/_resume.
Drop these wrappers and use the DEFINE_RUNTIME_DEV_PM_OPS() macro to
define the dev_pm_ops struct.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220909115646.99920-7-hdegoede@redhat.com
Diffstat (limited to 'drivers/gpu/drm/gma500/power.h')
-rw-r--r-- | drivers/gpu/drm/gma500/power.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/gma500/power.h b/drivers/gpu/drm/gma500/power.h index 243b9dd00910..063328d66652 100644 --- a/drivers/gpu/drm/gma500/power.h +++ b/drivers/gpu/drm/gma500/power.h @@ -43,9 +43,6 @@ void gma_power_uninit(struct drm_device *dev); */ int gma_power_suspend(struct device *dev); int gma_power_resume(struct device *dev); -int gma_power_thaw(struct device *dev); -int gma_power_freeze(struct device *dev); -int gma_power_restore(struct device *_dev); /* * These are the functions the driver should use to wrap all hw access @@ -54,10 +51,4 @@ int gma_power_restore(struct device *_dev); bool gma_power_begin(struct drm_device *dev, bool force); void gma_power_end(struct drm_device *dev); -/* - * GFX-Runtime PM callbacks - */ -int psb_runtime_suspend(struct device *dev); -int psb_runtime_resume(struct device *dev); - #endif /*_PSB_POWERMGMT_H_*/ |