]> asedeno.scripts.mit.edu Git - linux.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)
commiteaf7a88d4f4c48efff77e0c66462d152d3334bcc
treeb6d9e1e0acb46f5a5d1bc346e11dd3f21c529225
parentc9a506139b7a772be286c34493792ce1b428e992
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