From: Dmitry Baryshkov Date: Mon, 9 Oct 2023 18:10:35 +0000 (+0300) Subject: drm/msm: remove shutdown callback from msm_platform_driver X-Git-Tag: v6.7-rc1~145^2~5^2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=283add3e640581acec1e94acfbd398f499764711;p=thirdparty%2Fkernel%2Flinux.git drm/msm: remove shutdown callback from msm_platform_driver The msm_drv_shutdown only makes sense for the KMS-enabled devices, while msm_platform_driver is only used in the headless case. Remove the shutdown callback from the driver structure. Reviewed-by: Rob Clark Signed-off-by: Dmitry Baryshkov Patchwork: https://patchwork.freedesktop.org/patch/561644/ Signed-off-by: Rob Clark --- diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index 290389bac7cbf..8a2b4afedf9e2 100644 --- a/drivers/gpu/drm/msm/msm_drv.c +++ b/drivers/gpu/drm/msm/msm_drv.c @@ -1297,7 +1297,6 @@ void msm_drv_shutdown(struct platform_device *pdev) static struct platform_driver msm_platform_driver = { .probe = msm_pdev_probe, .remove = msm_pdev_remove, - .shutdown = msm_drv_shutdown, .driver = { .name = "msm", },