drivers: thermal: tsens: Save reference to the device pointer and use it
authorAmit Kucheria <amit.kucheria@linaro.org>
Wed, 20 Mar 2019 13:17:51 +0000 (18:47 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 14 May 2019 13:59:15 +0000 (06:59 -0700)
commit52eafd66ef764022b3cd2ee62a053d39e2809120
treea17edc68897cdedbcd28cff4597285d2815ca753
parentc19970548edc35921ed7606951d203d7887e2ea9
drivers: thermal: tsens: Save reference to the device pointer and use it

Code cleanup making it easier to read

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/qcom/tsens-common.c