devfreq: suppress platform driver bind / unbind feature.

For arm-memlat and bimc-hwmon platform driver does not
support the manual bind / unbind feature through sysfs,
when the governor is registered and started.

Suppress the bind / unbind calls using driver attribute.

Change-Id: I8287012e1e6931d80953382f3d625223315cec85
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
This commit is contained in:
Santosh Mardi
2018-06-05 11:34:50 +05:30
parent 5ef504ce9a
commit 996cd776ba
2 changed files with 2 additions and 0 deletions

View File

@@ -420,6 +420,7 @@ static struct platform_driver arm_memlat_mon_driver = {
.driver = {
.name = "arm-memlat-mon",
.of_match_table = memlat_match_table,
.suppress_bind_attrs = true,
},
};

View File

@@ -1128,6 +1128,7 @@ static struct platform_driver bimc_bwmon_driver = {
.driver = {
.name = "bimc-bwmon",
.of_match_table = bimc_bwmon_match_table,
.suppress_bind_attrs = true,
},
};