thermal: rockchip: improve the conversion function
authorCaesar Wang <wxt@rock-chips.com>
Mon, 9 Nov 2015 04:48:56 +0000 (12:48 +0800)
committerEduardo Valentin <edubezval@gmail.com>
Thu, 12 Nov 2015 18:17:35 +0000 (10:17 -0800)
commitce74110d5ed513b1b4f6e2eb4b7703f4163852bc
tree7d128069678e0a07af66d9b2981d6fc369fccbe0
parent144c5565c22a392cf2917b40754fc88109765f07
thermal: rockchip: improve the conversion function

We should make the conversion table in as a parameter since the different
SoCs have the different conversionion table.

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