thermal: mediatek: add common index of vts settings.
authorMichael Kao <michael.kao@mediatek.com>
Fri, 1 Feb 2019 07:38:08 +0000 (15:38 +0800)
committerEduardo Valentin <edubezval@gmail.com>
Wed, 6 Feb 2019 01:01:44 +0000 (17:01 -0800)
commit1d0819455e4329a3cf1e257888bd252d0bd15600
treed428c389b10a04c55cf1cc2b62f9e9aaf8a75ff1
parenteb9aecd90d1a39601e91cd08b90d5fee51d321a6
thermal: mediatek: add common index of vts settings.

Each project has different number of vts settings.
For the MT2701 just have to set three vts, but the
original code flow add five unnecessary vts.
Add common index of vts settings for scalablity,
and reduce the setting of unnecessary vts.

Signed-off-by: Michael Kao <michael.kao@mediatek.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/mtk_thermal.c