Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 011273e7 authored by Santosh Mardi's avatar Santosh Mardi
Browse files

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: default avatarSantosh Mardi <gsantosh@codeaurora.org>
parent 80d63754
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
 * Copyright (c) 2014-2016, 2018 The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -352,6 +352,7 @@ static struct platform_driver arm_memlat_mon_driver = {
		.name = "arm-memlat-mon",
		.of_match_table = match_table,
		.owner = THIS_MODULE,
		.suppress_bind_attrs = true,
	},
};

+2 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
 * Copyright (c) 2014-2015, 2018 The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -447,6 +447,7 @@ static struct platform_driver bimc_bwmon_driver = {
		.name = "bimc-bwmon",
		.of_match_table = match_table,
		.owner = THIS_MODULE,
		.suppress_bind_attrs = true,
	},
};