From: Durgadoss R Date: Tue, 18 Sep 2012 05:34:59 +0000 (+0530) Subject: Thermal: Update binding logic based on platform data X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~60^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e8ee1e9d7561fe640ae8df6c28f10a6a3239592;p=pandora-kernel.git 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 Signed-off-by: Zhang Rui --- Reading git-diff-tree failed