OSDN Git Service

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)
commit8c0ffc8f9a76b2007258f146a4ff22ef14e68590
treeb5e4c324272e31c462f29926cb38e0379bcf0d5b
parent9bb4ec8d9e93f0d1a94e8aa9100c5f42fd364078
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