commit | 54fa38cc2eda43599b51695f9918208e7250ac46 | [log] [tgz] |
---|---|---|
author | Eduardo Valentin <edubezval@gmail.com> | Mon Nov 07 21:08:39 2016 -0800 |
committer | Zhang Rui <rui.zhang@intel.com> | Wed Nov 23 10:06:12 2016 +0800 |
tree | 4a0a635b5402c8c272a6df32f63081e52b7b2119 | |
parent | 23400ac997062647f2b63c82030d189671b1effe [diff] |
thermal: core: prevent zones with no types to be registered There are APIs that rely on tz->type. This patch prevent thermal zones without it to be registered. Cc: Zhang Rui <rui.zhang@intel.com> Cc: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>