diff options
author | Dave Airlie <airlied@redhat.com> | 2022-09-28 07:05:38 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2022-09-28 07:05:45 +1000 |
commit | d601cc93036aff7c603dda6d22cf6a8211dfed16 (patch) | |
tree | 42439644ea47791e5dda215f3d74a4f56f8bab87 /drivers/gpu/drm/mediatek/mtk_drm_drv.c | |
parent | 8ffb78f3640e2a5671d34eb61a8f5ef062a6c585 (diff) | |
parent | 9d3feb63339520462583a4c7ee5130046ab515ad (diff) | |
download | linux-d601cc93036aff7c603dda6d22cf6a8211dfed16.tar.bz2 |
Merge tag 'mediatek-drm-next-6.1' of https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux into drm-next
Mediatek DRM Next for Linux 6.1
1. Drop of_gpio header
2. Remove the unneeded result
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220922234804.18557-1-chunkuang.hu@kernel.org
Diffstat (limited to 'drivers/gpu/drm/mediatek/mtk_drm_drv.c')
-rw-r--r-- | drivers/gpu/drm/mediatek/mtk_drm_drv.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index 5f02f8d0e4fc..91f58db5915f 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c @@ -833,11 +833,8 @@ static int mtk_drm_sys_prepare(struct device *dev) { struct mtk_drm_private *private = dev_get_drvdata(dev); struct drm_device *drm = private->drm; - int ret; - - ret = drm_mode_config_helper_suspend(drm); - return ret; + return drm_mode_config_helper_suspend(drm); } static void mtk_drm_sys_complete(struct device *dev) |