thermal: rockchip: Add the sort mode for adc value increment or decrement
authorCaesar Wang <wxt@rock-chips.com>
Mon, 9 Nov 2015 04:48:57 +0000 (12:48 +0800)
committerEduardo Valentin <edubezval@gmail.com>
Thu, 12 Nov 2015 18:19:09 +0000 (10:19 -0800)
commit020ba95dbbbe83073a9728e046b4512b40896197
treeadafdefd049c46ad7f6b17b8bfee89e0d3fbd4b5
parentce74110d5ed513b1b4f6e2eb4b7703f4163852bc
thermal: rockchip: Add the sort mode for adc value increment or decrement

The conversion table has the adc value and temperature.
In fact, the adc value only has the increment or decrement mode in
conversion table.

Moment, we can add the sort mode to be better support the *code_to_temp*
for differenr SoCs.

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