]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7873d300f6ab112b94bac4351106b1bd813edf5b
tree525706b523cf6efe8f2adcd215c0c857fb75ac79
parent4327f866cf763753a3f6b2f34c2d4e07e3d9c337
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