Merge "PM / devfreq: Disallow bind/unbind in devbw and simple-dev"

This commit is contained in:
Linux Build Service Account 2018-07-07 02:18:10 -07:00 • committed by Gerrit - the friendly Code Review server
commit 3a82ea4013
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
* Copyright (c) 2013-2014, 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
@ -258,6 +258,7 @@ static struct platform_driver devbw_driver = {
.driver = {
.name = "devbw",
.of_match_table = devbw_match_table,
.suppress_bind_attrs = true,
},
};

View file

@ -1,5 +1,6 @@
/*
* Copyright (c) 2014-2015, 2017, The Linux Foundation. All rights reserved.
* Copyright (c) 2014-2015, 2017-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
@ -212,6 +213,7 @@ static struct platform_driver devfreq_clock_driver = {
.driver = {
.name = "devfreq-simple-dev",
.of_match_table = devfreq_simple_match_table,
.suppress_bind_attrs = true,
},
};
module_platform_driver(devfreq_clock_driver);