summaryrefslogtreecommitdiffstats
path: root/lib/test_bitmap.c
diff options
context:
space:
mode:
authorKevin Wangtao <kevin.wangtao@linaro.org>2017-10-19 19:05:56 +0200
committerEduardo Valentin <edubezval@gmail.com>2017-10-31 19:32:17 -0700
commit943c0f6abfb6010065b80943356975885a33233c (patch)
tree35368fe70c17db3f7c6eed2001da450668f3a495 /lib/test_bitmap.c
parentcc1ab38d2b2ad3290426c2234cf83e7a323554c7 (diff)
downloadlinux-943c0f6abfb6010065b80943356975885a33233c.tar.bz2
thermal/drivers/hisi: Move the clk setup in the corresponding functions
The sensor's clock is enabled and disabled outside of the probe and disable function. Moving the corresponding action in the hisi_thermal_setup() and hisi_thermal_disable_sensor(), factors out some lines of code and makes the code more symmetric. 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>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions