thermal/drivers/hisi: Add multiple sensors support
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 25 Sep 2018 09:03:04 +0000 (11:03 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 23 Oct 2018 00:45:12 +0000 (17:45 -0700)
commit7edc5e406f2637ba1f9c93b1e72e0e37f446304b
tree859ec85fec748d583d026cc2e0c4cd0ad4a3fe66
parent8c0ffc8f9a76b2007258f146a4ff22ef14e68590
thermal/drivers/hisi: Add multiple sensors support

Change the code as it is dealing with several sensors.

For git-bisect compatibility (compilation and booting), assume the DT
is not yet changed and we have a single interrupt.

Next changes will support multiple interrupt sorted by their name.

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