thermal: rcar_thermal: fix duplicate IRQ request
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 3 Oct 2018 20:47:34 +0000 (23:47 +0300)
committerEduardo Valentin <edubezval@gmail.com>
Thu, 25 Oct 2018 17:44:49 +0000 (10:44 -0700)
commitdf016bbba63743bbef9ff5c6c282561211dd72cc
tree74dbba4a85906d44b0a27b627ba50aa5774480a0
parent304d9b486b3c6994c193b6693c601b463987e6ac
thermal: rcar_thermal: fix duplicate IRQ request

The driver on R8A77995 requests the same IRQ twice since
platform_get_resource() is always called for the 1st IRQ resource.

Fixes: 1969d9dc2079 ("thermal: rcar_thermal: add r8a77995 support")
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/rcar_thermal.c