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>
This commit is contained in:
Amit Kucheria 2019-03-20 18:47:51 +05:30 • committed by Eduardo Valentin
commit 52eafd66ef