]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/msm: Rename add_components_mdp()
authorRob Clark <robin.clark@oss.qualcomm.com>
Mon, 9 Jun 2025 18:24:35 +0000 (11:24 -0700)
committerRob Clark <robin.clark@oss.qualcomm.com>
Mon, 9 Jun 2025 19:52:02 +0000 (12:52 -0700)
To better match add_gpu_components().

Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/657700/

drivers/gpu/drm/msm/msm_drv.c

index 132d4cac358724f2f13aa3e9dfca995f5794c2db..8eeb54a367f072ae4c3f1bdd46cd086cb79810dc 100644 (file)
@@ -930,7 +930,7 @@ static const struct drm_driver msm_driver = {
  * is no external component that we need to add since LVDS is within MDP4
  * itself.
  */
-static int add_components_mdp(struct device *master_dev,
+static int add_mdp_components(struct device *master_dev,
                              struct component_match **matchptr)
 {
        struct device_node *np = master_dev->of_node;
@@ -1075,7 +1075,7 @@ int msm_drv_probe(struct device *master_dev,
 
        /* Add mdp components if we have KMS. */
        if (kms_init) {
-               ret = add_components_mdp(master_dev, &match);
+               ret = add_mdp_components(master_dev, &match);
                if (ret)
                        return ret;
        }