diff options
author | Eduardo Valentin | 2013-09-13 01:15:44 +0200 |
---|---|---|
committer | Eduardo Valentin | 2013-12-04 14:31:33 +0100 |
commit | 81bd4e1cebed5efb85bd94a15342ee4d6965a416 (patch) | |
tree | 8812dcdb72f93967c34f6f7015abc2b20308f5d8 /drivers/thermal/Makefile | |
parent | Linux 3.13-rc2 (diff) | |
download | kernel-qcow2-linux-81bd4e1cebed5efb85bd94a15342ee4d6965a416.tar.gz kernel-qcow2-linux-81bd4e1cebed5efb85bd94a15342ee4d6965a416.tar.xz kernel-qcow2-linux-81bd4e1cebed5efb85bd94a15342ee4d6965a416.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.
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 'drivers/thermal/Makefile')
0 files changed, 0 insertions, 0 deletions