diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-09-12 19:15:44 -0400 |
---|---|---|
committer | Jonghwa Lee <jonghwa3.lee@samsung.com> | 2014-10-08 11:16:15 +0900 |
commit | 6ef79618436a21ee86557e28bc2f89d5e51da6a7 (patch) | |
tree | 6ac8acfab531547a9bd0d2224f9811f7377c0b9f /include | |
parent | dea58411e043c292891486ee91d9466250200a3b (diff) | |
download | linux-3.10-6ef79618436a21ee86557e28bc2f89d5e51da6a7.tar.gz linux-3.10-6ef79618436a21ee86557e28bc2f89d5e51da6a7.tar.bz2 linux-3.10-6ef79618436a21ee86557e28bc2f89d5e51da6a7.zip |
thermal: allow registering without .get_temp
This patch changes the thermal core driver to allow
registration of thermal zones without the .get_temp callback.
The idea behind this change is to allow lazy registration
of sensor callbacks.
The thermal zone will be disabled whenever the ops
does not contain a .get_temp callback. The sysfs interface
will be returning -EINVAL on any temperature read operation.
Change-Id: Id58d2b558bc5a946dc7d712e28c2ed7cb90cc64b
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions