summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorKevin Wangtao <kevin.wangtao@linaro.org>2017-10-19 20:05:56 +0300
committerEduardo Valentin <edubezval@gmail.com>2017-11-01 05:32:17 +0300
commit943c0f6abfb6010065b80943356975885a33233c (patch)
tree35368fe70c17db3f7c6eed2001da450668f3a495 /include/linux/fpga/fpga-mgr.h
parentcc1ab38d2b2ad3290426c2234cf83e7a323554c7 (diff)
downloadlinux-943c0f6abfb6010065b80943356975885a33233c.tar.xz
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 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions