Skip to content

Commit 937154e

Browse files
lumagrobclark
authored andcommitted
drm/msm: rename msm_drv_shutdown() to msm_kms_shutdown()
The msm_drv_shutdown function should only be used in the KMS case. Rename it accordingly. Reviewed-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/561652/ Signed-off-by: Rob Clark <robdclark@chromium.org>
1 parent 283add3 commit 937154e

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1372,7 +1372,7 @@ MODULE_DEVICE_TABLE(of, dpu_dt_match);
13721372
static struct platform_driver dpu_driver = {
13731373
.probe = dpu_dev_probe,
13741374
.remove = dpu_dev_remove,
1375-
.shutdown = msm_drv_shutdown,
1375+
.shutdown = msm_kms_shutdown,
13761376
.driver = {
13771377
.name = "msm_dpu",
13781378
.of_match_table = dpu_dt_match,

drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ MODULE_DEVICE_TABLE(of, mdp4_dt_match);
572572
static struct platform_driver mdp4_platform_driver = {
573573
.probe = mdp4_probe,
574574
.remove = mdp4_remove,
575-
.shutdown = msm_drv_shutdown,
575+
.shutdown = msm_kms_shutdown,
576576
.driver = {
577577
.name = "mdp4",
578578
.of_match_table = mdp4_dt_match,

drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ MODULE_DEVICE_TABLE(of, mdp5_dt_match);
976976
static struct platform_driver mdp5_driver = {
977977
.probe = mdp5_dev_probe,
978978
.remove = mdp5_dev_remove,
979-
.shutdown = msm_drv_shutdown,
979+
.shutdown = msm_kms_shutdown,
980980
.driver = {
981981
.name = "msm_mdp",
982982
.of_match_table = mdp5_dt_match,

drivers/gpu/drm/msm/msm_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,7 @@ static int msm_pdev_remove(struct platform_device *pdev)
12781278
return 0;
12791279
}
12801280

1281-
void msm_drv_shutdown(struct platform_device *pdev)
1281+
void msm_kms_shutdown(struct platform_device *pdev)
12821282
{
12831283
struct msm_drm_private *priv = platform_get_drvdata(pdev);
12841284
struct drm_device *drm = priv ? priv->dev : NULL;

drivers/gpu/drm/msm/msm_drv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ void msm_kms_pm_complete(struct device *dev);
569569
int msm_drv_probe(struct device *dev,
570570
int (*kms_init)(struct drm_device *dev),
571571
struct msm_kms *kms);
572-
void msm_drv_shutdown(struct platform_device *pdev);
572+
void msm_kms_shutdown(struct platform_device *pdev);
573573

574574

575575
#endif /* __MSM_DRV_H__ */

0 commit comments

Comments
 (0)