Explorar el Código

disp: msm: dp: remove dead code of "qcom,dp-mst-sim"

Remove dead code of "qcom,dp-mst-sim" compatible.

Change-Id: I7ced60ea06ac9ac712c4e7c45522656e42fd3413
Signed-off-by: GG Hou <[email protected]>
GG Hou hace 3 años
padre
commit
67be1373c1
Se han modificado 1 ficheros con 1 adiciones y 31 borrados
  1. 1 31
      msm/dp/dp_mst_sim.c

+ 1 - 31
msm/dp/dp_mst_sim.c

@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
  * Copyright (c) 2019-2021, The Linux Foundation. All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify
@@ -1683,34 +1684,3 @@ int dp_sim_remove(struct platform_device *pdev)
 
 	return 0;
 }
-
-#if 0
-static const struct of_device_id dt_match[] = {
-	{ .compatible = "qcom,dp-mst-sim"},
-	{},
-};
-
-static struct platform_driver dp_sim_driver = {
-	.probe = dp_sim_probe,
-	.remove = dp_sim_remove,
-	.driver = {
-		.name = "dp_sim",
-		.of_match_table = dt_match,
-		.suppress_bind_attrs = true,
-	},
-};
-
-static int __init dp_sim_register(void)
-{
-	return platform_driver_register(&dp_sim_driver);
-}
-
-static void __exit dp_sim_unregister(void)
-{
-	platform_driver_unregister(&dp_sim_driver);
-}
-
-module_init(dp_sim_register);
-module_exit(dp_sim_unregister);
-
-#endif