diff options
author | Durgadoss R <durgadoss.r@intel.com> | 2012-09-18 07:34:59 +0200 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2012-11-05 07:00:06 +0100 |
commit | 7e8ee1e9d7561fe640ae8df6c28f10a6a3239592 (patch) | |
tree | 62424e9e873cf857727d6ce9803f2dc73647a561 /kernel/seccomp.c | |
parent | Thermal: Add a policy sysfs attribute (diff) | |
download | linux-7e8ee1e9d7561fe640ae8df6c28f10a6a3239592.tar.xz linux-7e8ee1e9d7561fe640ae8df6c28f10a6a3239592.zip |
Thermal: Update binding logic based on platform data
This patch updates the binding logic in thermal_sys.c
It uses the platform layer data to bind a thermal zone
to a cdev for a particular trip point.
* If we do not have platform data and do not have
.bind defined, do not bind.
* If we do not have platform data but .bind is
defined, then use tz->ops->bind.
* If we have platform data, use it to create binding.
The same logic sequence is followed for unbind also.
Signed-off-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'kernel/seccomp.c')
0 files changed, 0 insertions, 0 deletions