thermal: rockchip: fix calculation error for code_to_temp
authorElaine Zhang <zhangqing@rock-chips.com>
Mon, 15 Feb 2016 07:33:29 +0000 (15:33 +0800)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 1 Mar 2016 05:04:35 +0000 (21:04 -0800)
commit1d37a037dd9527df55db68aee80afa73ce40c733
tree3b5b82e7c735e735c29958948767fb1136dc5796
parent43b4eb9fe719b107c8e5d49d1edbff0c135a42cb
thermal: rockchip: fix calculation error for code_to_temp

the calculation use a global table, not their own table.
so adapt the table to the correct one.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/rockchip_thermal.c