thermal: rcar_thermal: Add missing braces to conditional statement
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 19 Aug 2020 09:27:16 +0000 (11:27 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 12 Oct 2020 10:08:35 +0000 (12:08 +0200)
commit392573b73ee3373408e8b4c835d7cb3a241ec002
treed2d790985655a57084b99ba3cfed6d68cae35e93
parent6ad1c515b8fb572b825d31e27b902f4ae9b0aa38
thermal: rcar_thermal: Add missing braces to conditional statement

According to Documentation/process/coding-style.rst, if one branch of a
conditional statement needs braces, both branches should use braces.

Fixes: bbcf90c0646ac797 ("thermal: Explicitly enable non-changing thermal zone devices")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200819092716.3191-1-geert+renesas@glider.be
drivers/thermal/rcar_thermal.c