]> Git Repo - linux.git/commit - drivers/thermal/thermal_core.c
thermal: core: prevent zones with no types to be registered
authorEduardo Valentin <[email protected]>
Tue, 8 Nov 2016 05:08:39 +0000 (21:08 -0800)
committerZhang Rui <[email protected]>
Wed, 23 Nov 2016 02:06:12 +0000 (10:06 +0800)
commit54fa38cc2eda43599b51695f9918208e7250ac46
tree4a0a635b5402c8c272a6df32f63081e52b7b2119
parent23400ac997062647f2b63c82030d189671b1effe
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 <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Eduardo Valentin <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
drivers/thermal/thermal_core.c
This page took 0.053598 seconds and 4 git commands to generate.