]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: brcmstb_thermal: Restructure interrupt registration
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 14 Jan 2020 19:06:06 +0000 (11:06 -0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 27 Jan 2020 10:41:08 +0000 (11:41 +0100)
commit78774845cf1115b173a9859c0cf4c87c414dcd7b
treeb6d9e1e0acb46f5a5d1bc346e11dd3f21c529225
parent15520e805fa64c54640b95bd2da2fab9bad7d705
thermal: brcmstb_thermal: Restructure interrupt registration

If we are successful grabbing the interrupt resource, then register an
interrupt handler, this makes it easier to support the interrupt as
being optional, which is it for 7216.

Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200114190607.29339-6-f.fainelli@gmail.com
drivers/thermal/broadcom/brcmstb_thermal.c