Browse Source

drm/msm: Drop the id_table in platform_driver

This isn't needed as we only support OF.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Archit Taneja 9 years ago
parent
commit
6a5625d827
1 changed files with 0 additions and 6 deletions
  1. 0 6
      drivers/gpu/drm/msm/msm_drv.c

+ 0 - 6
drivers/gpu/drm/msm/msm_drv.c

@@ -852,11 +852,6 @@ static int msm_pdev_remove(struct platform_device *pdev)
 	return 0;
 	return 0;
 }
 }
 
 
-static const struct platform_device_id msm_id[] = {
-	{ "mdp", 0 },
-	{ }
-};
-
 static const struct of_device_id dt_match[] = {
 static const struct of_device_id dt_match[] = {
 	{ .compatible = "qcom,mdp4", .data = (void *) 4 },	/* mdp4 */
 	{ .compatible = "qcom,mdp4", .data = (void *) 4 },	/* mdp4 */
 	{ .compatible = "qcom,mdp5", .data = (void *) 5 },	/* mdp5 */
 	{ .compatible = "qcom,mdp5", .data = (void *) 5 },	/* mdp5 */
@@ -874,7 +869,6 @@ static struct platform_driver msm_platform_driver = {
 		.of_match_table = dt_match,
 		.of_match_table = dt_match,
 		.pm     = &msm_pm_ops,
 		.pm     = &msm_pm_ops,
 	},
 	},
-	.id_table   = msm_id,
 };
 };
 
 
 static int __init msm_drm_register(void)
 static int __init msm_drm_register(void)