thermal/drivers/hisi: Remove pointless irq field
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 25 Sep 2018 09:03:09 +0000 (11:03 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 23 Oct 2018 00:50:08 +0000 (17:50 -0700)
commita18e83e77217b63e4138470aa49d8269a201f76d
treedd51890cbb5fb9ce6ec7b31cc7af21e8f68ea6a3
parent2cffaeff083fafeefb1daee7b443f7381eca5b2f
thermal/drivers/hisi: Remove pointless irq field

The irq field in the data structure is pointless as the scope of its
usage is just to request the interrupt. It can be replaced by a local
variable.

Use the 'ret' variable to get the interrupt number.

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