Commit 937154e4 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Rob Clark

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: default avatarRob Clark <robdclark@gmail.com>
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/561652/Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
parent 283add3e
...@@ -1372,7 +1372,7 @@ MODULE_DEVICE_TABLE(of, dpu_dt_match); ...@@ -1372,7 +1372,7 @@ MODULE_DEVICE_TABLE(of, dpu_dt_match);
static struct platform_driver dpu_driver = { static struct platform_driver dpu_driver = {
.probe = dpu_dev_probe, .probe = dpu_dev_probe,
.remove = dpu_dev_remove, .remove = dpu_dev_remove,
.shutdown = msm_drv_shutdown, .shutdown = msm_kms_shutdown,
.driver = { .driver = {
.name = "msm_dpu", .name = "msm_dpu",
.of_match_table = dpu_dt_match, .of_match_table = dpu_dt_match,
......
...@@ -572,7 +572,7 @@ MODULE_DEVICE_TABLE(of, mdp4_dt_match); ...@@ -572,7 +572,7 @@ MODULE_DEVICE_TABLE(of, mdp4_dt_match);
static struct platform_driver mdp4_platform_driver = { static struct platform_driver mdp4_platform_driver = {
.probe = mdp4_probe, .probe = mdp4_probe,
.remove = mdp4_remove, .remove = mdp4_remove,
.shutdown = msm_drv_shutdown, .shutdown = msm_kms_shutdown,
.driver = { .driver = {
.name = "mdp4", .name = "mdp4",
.of_match_table = mdp4_dt_match, .of_match_table = mdp4_dt_match,
......
...@@ -976,7 +976,7 @@ MODULE_DEVICE_TABLE(of, mdp5_dt_match); ...@@ -976,7 +976,7 @@ MODULE_DEVICE_TABLE(of, mdp5_dt_match);
static struct platform_driver mdp5_driver = { static struct platform_driver mdp5_driver = {
.probe = mdp5_dev_probe, .probe = mdp5_dev_probe,
.remove = mdp5_dev_remove, .remove = mdp5_dev_remove,
.shutdown = msm_drv_shutdown, .shutdown = msm_kms_shutdown,
.driver = { .driver = {
.name = "msm_mdp", .name = "msm_mdp",
.of_match_table = mdp5_dt_match, .of_match_table = mdp5_dt_match,
......
...@@ -1278,7 +1278,7 @@ static int msm_pdev_remove(struct platform_device *pdev) ...@@ -1278,7 +1278,7 @@ static int msm_pdev_remove(struct platform_device *pdev)
return 0; return 0;
} }
void msm_drv_shutdown(struct platform_device *pdev) void msm_kms_shutdown(struct platform_device *pdev)
{ {
struct msm_drm_private *priv = platform_get_drvdata(pdev); struct msm_drm_private *priv = platform_get_drvdata(pdev);
struct drm_device *drm = priv ? priv->dev : NULL; struct drm_device *drm = priv ? priv->dev : NULL;
......
...@@ -569,7 +569,7 @@ void msm_kms_pm_complete(struct device *dev); ...@@ -569,7 +569,7 @@ void msm_kms_pm_complete(struct device *dev);
int msm_drv_probe(struct device *dev, int msm_drv_probe(struct device *dev,
int (*kms_init)(struct drm_device *dev), int (*kms_init)(struct drm_device *dev),
struct msm_kms *kms); struct msm_kms *kms);
void msm_drv_shutdown(struct platform_device *pdev); void msm_kms_shutdown(struct platform_device *pdev);
#endif /* __MSM_DRV_H__ */ #endif /* __MSM_DRV_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment