thermal: make device_register's type argument const

...because it can be, the buffer is strlcpy'd into a local buffer in a
thermal struct member.

Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
This commit is contained in:
Jean-Francois Dagenais 2019-04-18 12:36:39 -04:00 • committed by Zhang Rui
commit f991de53a8
2 changed files with 6 additions and 6 deletions