]> git.baikalelectronics.ru Git - kernel.git/commit
thermal/drivers/hisi: Prepare to support multiple sensors
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 25 Sep 2018 09:03:03 +0000 (11:03 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 23 Oct 2018 00:44:23 +0000 (17:44 -0700)
commit6bc4e5ee1ef97db72689b3160f047b2a4bb8670d
treeb5e4c324272e31c462f29926cb38e0379bcf0d5b
parentb313554d1e3abb941f50da0f0d66143c53cf5c24
thermal/drivers/hisi: Prepare to support multiple sensors

Convert the 'sensor' field to a pointer and propagate the change in
the file. Havintg a pointer, gives us the opportunity to define
multiple sensors.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/hisi_thermal.c