|
@@ -127,20 +127,6 @@ out_disable_pm:
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
|
-static int replicator_remove(struct platform_device *pdev)
|
|
|
-{
|
|
|
- struct replicator_drvdata *drvdata = platform_get_drvdata(pdev);
|
|
|
-
|
|
|
- coresight_unregister(drvdata->csdev);
|
|
|
- pm_runtime_get_sync(&pdev->dev);
|
|
|
- if (!IS_ERR(drvdata->atclk))
|
|
|
- clk_disable_unprepare(drvdata->atclk);
|
|
|
- pm_runtime_put_noidle(&pdev->dev);
|
|
|
- pm_runtime_disable(&pdev->dev);
|
|
|
-
|
|
|
- return 0;
|
|
|
-}
|
|
|
-
|
|
|
#ifdef CONFIG_PM
|
|
|
static int replicator_runtime_suspend(struct device *dev)
|
|
|
{
|
|
@@ -175,11 +161,11 @@ static const struct of_device_id replicator_match[] = {
|
|
|
|
|
|
static struct platform_driver replicator_driver = {
|
|
|
.probe = replicator_probe,
|
|
|
- .remove = replicator_remove,
|
|
|
.driver = {
|
|
|
.name = "coresight-replicator",
|
|
|
.of_match_table = replicator_match,
|
|
|
.pm = &replicator_dev_pm_ops,
|
|
|
+ .suppress_bind_attrs = true,
|
|
|
},
|
|
|
};
|
|
|
|