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>
tirimbino
Santosh Mardi 7 years ago
parent 709e9085af
commit 4964b34386
  1. 1
      drivers/devfreq/arm-memlat-mon.c
  2. 1
      drivers/devfreq/bimc-bwmon.c

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

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

Loading…
Cancel
Save