BACKPORT: thermal/drivers/hisi: Put platform code together
authorKevin Wangtao <kevin.wangtao@linaro.org>
Sun, 22 Oct 2017 08:54:32 +0000 (10:54 +0200)
committerKevin Wangtao <kevin.wangtao@hisilicon.com>
Fri, 26 Jan 2018 02:01:14 +0000 (10:01 +0800)
commit53e9756c7390f79a36781b9afd3d96a2ceed055c
treef4661b8f9a2a6c98cf557e9f2ca358caba4eea08
parent9f75fb2633962799f4737884ae8001f30d5b68f2
BACKPORT: thermal/drivers/hisi: Put platform code together

Reorganize the code for next patches by moving the functions upper in
the file which will prevent a forward declaration. There is no functional
change here.

Change-Id: I3eb1665e91bf768a2536653a29699db1460b4643
Signed-off-by: Kevin Wangtao <kevin.wangtao@linaro.org>
Tested-by: Daniel Lezcano <daniel.lezcano@linaro.org> # hikey6220
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
(cherry picked from commit a0678da82ca01771db57f53bfb7f0a5a7494900e)
Signed-off-by: Kevin Wangtao <kevin.wangtao@hisilicon.com>
drivers/thermal/hisi_thermal.c