drivers: soc: qcom: suppress platform driver bind / unbind feature

For rimps_log and qcom_rimps platform driver does not
support the manual bind / unbind feature through sysfs,
Suppress the bind / unbind calls using driver attribute.

Change-Id: I9734d62e19ef16b01039757a92ef2489baea91b3
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
This commit is contained in:
Santosh Mardi 2020-10-07 17:01:13 +05:30
commit a4b0d927d8
2 changed files with 2 additions and 0 deletions

View file

@ -216,6 +216,7 @@ static struct platform_driver qcom_rimps_driver = {
.driver = {
.name = "qcom_rimps",
.of_match_table = qcom_rimps_of_match,
.suppress_bind_attrs = true,
},
};

View file

@ -364,6 +364,7 @@ static struct platform_driver rimps_log_driver = {
.driver = {
.name = "rimps-log",
.of_match_table = rimps_log,
.suppress_bind_attrs = true,
},
.probe = rimps_log_probe,
.remove = rimps_log_remove,