From: Durgadoss R Date: Tue, 18 Sep 2012 05:35:04 +0000 (+0530) Subject: Thermal: Remove throttling logic out of thermal_sys.c X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~60^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c01ebbfd3caf1dc132e0d93c8e7e9f742839d94;p=pandora-kernel.git Thermal: Remove throttling logic out of thermal_sys.c This patch removes the throttling logic out of thermal_sys.c; also refactors the code into smaller functions so that are easy to read/maintain. * Seperates the handling of critical and non-critical trips * Re-arranges the set_polling and device_check methods, so that all related functions are arranged in one place. * Removes the 'do_update' and 'trip_update' method, as part of moving the throttling logic out of thermal_sys.c Signed-off-by: Durgadoss R Signed-off-by: Zhang Rui --- Reading git-diff-tree failed