thermal: ti-soc-thermal: add missing clk_put()
authorLuis Henriques <henrix@camandro.org>
Wed, 16 Nov 2016 22:15:22 +0000 (22:15 +0000)
committerZhang Rui <rui.zhang@intel.com>
Wed, 23 Nov 2016 02:07:35 +0000 (10:07 +0800)
commit882f5815de0c8983010c20ea8ef3b204701cb6b0
tree6ead82f339b1aa49da89f8b739ac36627483f07b
parent23400ac997062647f2b63c82030d189671b1effe
thermal: ti-soc-thermal: add missing clk_put()

This patch fixes the following Coccinelle error:

./drivers/thermal/ti-soc-thermal/ti-bandgap.c:1441:1-7: \
ERROR: missing clk_put; clk_get on line 1290 \
and execution via conditional on line 1298

Signed-off-by: Luis Henriques <henrix@camandro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/ti-soc-thermal/ti-bandgap.c