thermal/drivers/hisi: Use platform_get_irq_byname
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 25 Sep 2018 09:03:07 +0000 (11:03 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 23 Oct 2018 00:46:29 +0000 (17:46 -0700)
commit2cffaeff083fafeefb1daee7b443f7381eca5b2f
tree525706b523cf6efe8f2adcd215c0c857fb75ac79
parenta849eecee7ee70db47c4f7e2976432ef16c081e1
thermal/drivers/hisi: Use platform_get_irq_byname

As we have the interrupt names defines, replace platform_get_irq() by
platform_get_irq_byname(), so no confusion can be made when getting
the interrupt with the sensor id.

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