mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
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>
This commit is contained in:
parent
283add3e64
commit
937154e49b
|
|
@ -1372,7 +1372,7 @@ MODULE_DEVICE_TABLE(of, dpu_dt_match);
|
|||
static struct platform_driver dpu_driver = {
|
||||
.probe = dpu_dev_probe,
|
||||
.remove = dpu_dev_remove,
|
||||
.shutdown = msm_drv_shutdown,
|
||||
.shutdown = msm_kms_shutdown,
|
||||
.driver = {
|
||||
.name = "msm_dpu",
|
||||
.of_match_table = dpu_dt_match,
|
||||
|
|
|
|||
|
|
@ -572,7 +572,7 @@ MODULE_DEVICE_TABLE(of, mdp4_dt_match);
|
|||
static struct platform_driver mdp4_platform_driver = {
|
||||
.probe = mdp4_probe,
|
||||
.remove = mdp4_remove,
|
||||
.shutdown = msm_drv_shutdown,
|
||||
.shutdown = msm_kms_shutdown,
|
||||
.driver = {
|
||||
.name = "mdp4",
|
||||
.of_match_table = mdp4_dt_match,
|
||||
|
|
|
|||
|
|
@ -976,7 +976,7 @@ MODULE_DEVICE_TABLE(of, mdp5_dt_match);
|
|||
static struct platform_driver mdp5_driver = {
|
||||
.probe = mdp5_dev_probe,
|
||||
.remove = mdp5_dev_remove,
|
||||
.shutdown = msm_drv_shutdown,
|
||||
.shutdown = msm_kms_shutdown,
|
||||
.driver = {
|
||||
.name = "msm_mdp",
|
||||
.of_match_table = mdp5_dt_match,
|
||||
|
|
|
|||
|
|
@ -1278,7 +1278,7 @@ static int msm_pdev_remove(struct platform_device *pdev)
|
|||
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 drm_device *drm = priv ? priv->dev : NULL;
|
||||
|
|
|
|||
|
|
@ -569,7 +569,7 @@ void msm_kms_pm_complete(struct device *dev);
|
|||
int msm_drv_probe(struct device *dev,
|
||||
int (*kms_init)(struct drm_device *dev),
|
||||
struct msm_kms *kms);
|
||||
void msm_drv_shutdown(struct platform_device *pdev);
|
||||
void msm_kms_shutdown(struct platform_device *pdev);
|
||||
|
||||
|
||||
#endif /* __MSM_DRV_H__ */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user